This commit is contained in:
parent
1fd94cf343
commit
92351a02ec
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ impl Default for ErrorInfo {
|
|||
}
|
||||
|
||||
static ERROR_CODE_REGEX: Lazy<Regex> =
|
||||
Lazy::new(|| Regex::new(" \\d\\d\\d-\\d\\d\\d\\d ").expect("invalid regex"));
|
||||
Lazy::new(|| Regex::new("(?<=(^| ))\\d\\d\\d-\\d\\d\\d\\d(?=($| ))").expect("invalid regex"));
|
||||
|
||||
pub struct ErrorCodeHandler;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue