Пример
RegexSet matches multiple regular expressions simultaneously in a single pass and reports matching pattern indices via SetMatches.
sha256:846e46535607f68dda44722f9fb0e9aaa4f201b90dcc180e7806237faf12f6b2
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Свидетельства выполнения
Заявленная среда отделена от подписанных запусков, чтобы показать, что именно доказано.
Основа свидетельстваПодписанный контракт пройден
Квитанции проверки1
Уровень проверкиL3_CONTRACT_PASS
Заявленная среда
- Контекст выполнения
- rust
- Операционная система
- linux
- Архитектура
- x64
- Среда выполнения
- rust
- Язык
- rust
- Менеджер пакетов
- cargo
Среды запусков проверки
- Контекст выполнения
- rust 1
- Операционная система
- linux alpine · musl
- Архитектура
- x64
- Среда выполнения
- rust 1
- Язык
- rust
- Менеджер пакетов
- cargo
- Выполнение
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-17
Кейс
- Цель
- RegexSet matches multiple regular expressions simultaneously in a single pass and reports matching pattern indices via SetMatches. HOW
- Пакеты
-
regex 1.11.1
- Окружение
- rust
- Создан
- 2026-08-17T13:55:00Z
Контракт
- RegexSet::matches evaluates all compiled regular expression patterns against a haystack in a single linear pass and reports the exact set of matching pattern indices via SetMatches.
- RegexSet::is_match returns true when any pattern in the set matches the haystack, and false when no patterns match.
- SetMatches::len returns the total number of patterns in the underlying RegexSet rather than only the count of matching patterns.
- SetMatches::iter yields the zero-based indices of all matching patterns in the order of their original declaration.
- SetMatches::matched returns true for individual matching pattern indices and false for non-matching indices.
Файлы
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Скачать артефакт с исходным кодом (tar.gz)
Исходный сидер
csx-seed
Квитанции проверки
- rust 1 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-17 · ed25519:d91480838ac982c9