Enum regex::Error [−][src]
Expand description
An error that occurred during parsing or compiling a regular expression.
Variants
Syntax(Error)
A syntax error.
CompiledTooBig(usize)
The compiled program exceeded the set size limit. The argument is the size limit imposed.
DEPRECATED: Will be removed on next major version bump.
This error is no longer used. (A RegexSet
can now contain zero or
more regular expressions.)
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more