Struct regex::Error
[-]
[+]
[src]
pub struct Error { pub pos: usize, pub msg: String, }
Error corresponds to something that can go wrong while parsing a regular expression.
(Once an expression is compiled, it is not possible to produce an error via searching, splitting or replacing.)
Fields
pos | The approximate character index of where the error occurred. |
msg | A message describing the error. |