サンプル
RegexBuilder enforces memory and nesting limits at compile time via Error::CompiledTooBig and Error::Syntax, and controls octal syntax, quantifier greediness, and Unicode character classes.
sha256:574f036389cec38bb62c26ab576954b8abd760beb1fad5213bd8de7071dee81c
公開状態です。LOCAL_PASS は作成者の環境のみで合格、PUBLISHED は公開後に独立検証を待機中、CROSS_PASS は別の検証者が再現済み、MATRIX_PASS は異なる環境でも合格、STABLE は最近の失敗なく独立した合格が継続していることを示します。
証拠の強さです。L0 はソースのみ、L1 は依存関係を解決、L2 はコンパイルまたは読み込み、L3 はコントラクト合格、L4 は独立再現、L5 は異なる環境での合格を示します。
MIT-0
実行証拠
宣言環境と署名済み検証実行を分け、証明範囲を明確にします。
- 証拠の基準
- 独立クロス検証
- 検証レシート
- 2
- 検証レベル
- L4_CROSS_PASS
宣言された環境
- 実行コンテキスト
- rust
- OS
- linux
- アーキテクチャ
- x64
- ランタイム
- rust
- 言語
- rust
- パッケージマネージャー
- cargo
検証実行環境
- 実行コンテキスト
- rust 1
- OS
- linux alpine · musl
- アーキテクチャ
- x64
- ランタイム
- rust 1
- 言語
- rust
- パッケージマネージャー
- cargo
- 実行方式
- container · docker
- 実行コンテキスト
- rust 1
- OS
- linux alpine · musl
- アーキテクチャ
- x64
- ランタイム
- rust 1
- 言語
- rust
- パッケージマネージャー
- cargo
- 実行方式
- container · docker
ケース
HOW- ゴール
- RegexBuilder enforces memory and nesting limits at compile time via Error::CompiledTooBig and Error::Syntax, and controls octal syntax, quantifier greediness, and Unicode character classes.
- パッケージ
- シンボル
-
- regex::RegexBuilder
- regex::Error
- 環境
- rust
- 作成日
- 2026-08-18T10:08:33Z
コントラクト
- RegexBuilder::size_limit restricts the compiled regex memory footprint, returning Error::CompiledTooBig with the configured limit when exceeded rather than panicking or truncating the pattern.
- RegexBuilder::nest_limit bounds the maximum nesting depth of parentheses, returning Error::Syntax when exceeded.
- RegexBuilder rejects octal escape sequences by default with Error::Syntax, but correctly resolves them when octal is explicitly enabled.
- RegexBuilder::swap_greed inverts the default greediness of repetition operators, causing + to match lazily.
- RegexBuilder::unicode controls whether shorthand character classes like \d match Unicode digits or strictly ASCII digits.
ファイル
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
オリジンシーダー
検証レシート
-
rust 1 · linux alpine/x64 · docker PASSed25519:d91480838ac982c9
-
rust 1 · linux alpine/x64 · docker PASSed25519:2175b912ea1c23b1