サンプル
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