Expand description
正则
Modules§
- Search for regex matches in
&[u8]haystacks.
Structs§
- A low level representation of the byte offsets of each capture group.
- An iterator over all non-overlapping capture matches in a haystack.
- An iterator over the names of all capture groups in a regex.
- Represents the capture groups for a single match.
- Represents a single match of a regex in a haystack.
- An iterator over all non-overlapping matches in a haystack.
- A helper type for forcing literal string replacement.
- A compiled regular expression for searching Unicode haystacks.
- A configurable builder for a
Regex. - Match multiple, possibly overlapping, regexes in a single search.
- A configurable builder for a
RegexSet. - A by-reference adaptor for a
Replacer. - A set of matches returned by a regex set.
- An owned iterator over the set of matches from a regex set.
- A borrowed iterator over the set of matches from a regex set.
- An iterator over all substrings delimited by a regex match.
- An iterator over at most
Nsubstrings delimited by a regex match. - An iterator over all group matches in a
Capturesvalue.
Enums§
- An error that occurred during parsing or compiling a regular expression.
Statics§
- 激活码正则
- 邮箱正则
- Linux和macOS环境下环境变量的正则表达式
- 正则表达式,用于匹配格式化字符串中的占位符
- IPV4正则
- MAC正则
- URL正则
Traits§
- A trait for types that can be used to replace matches in a haystack.
Functions§
- Escapes all regular expression meta characters in
pattern. - 正则匹配2