[−][src]Enum fancy_regex::Error
An error for the result of compiling or running a regex.
Variants
General parsing error
Opening parenthesis without closing parenthesis, e.g. (a|b
Invalid repeat syntax
Pattern too deeply nested
Look-behind assertion without constant size
Backslash without following character
InvalidEscape(String)
Invalid escape
Unicode escape not closed
Invalid hex escape
Invalid codepoint for hex or unicode escape
Invalid character class
UnknownFlag(String)
Unknown group flag
Disabling Unicode not supported
Invalid back reference
InnerError(Error)
Regex crate error
Couldn't parse group name
InvalidGroupNameBackref(String)
Invalid group id in escape sequence
Once named groups are used you cannot refer to groups by number
Max stack size exceeded for backtracking while executing regex.
Max limit for backtracking count exceeded while executing the regex.
Configure using
RegexBuilder::backtrack_limit
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,