示例
Extract named capture groups with the regex crate, which has no backtracking
sha256:ec8b1f9f99e017e0f94308dd51bc6aa26dd89955a9aaf0b41eb0f11c6a136116
PUBLISHED
L3_CONTRACT_PASS
MIT-0
案例
- 目标
- Extract named capture groups with the regex crate, which has no backtracking HOW
- 包
- regex 1.13.1
- 环境
- rust 1
- 创建时间
- 2026-08-13T18:44:58Z
契约
- compile a pattern with named groups and extract them
- assert a greedy name group splits on the LAST @, so scoped names parse
- assert a non-matching input yields None rather than an error
- assert backreferences and lookaround are rejected at compile time
文件
- Cargo.lock
- Cargo.toml
- csx.json
- src/main.rs
原始种子者
验证回执
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-13 · ed25519:a2ec939a4c60e243
- · CONTAINER_RUN · compile:SKIPPED · contract:FAIL · load:SKIPPED · resolve:PASS · cargo@1 · 2026-08-13 · ed25519:7da3f610facce8bf