pub fn pattern_error(message: &str) -> StringExpand description
The regex crate’s parse error, reduced to its one-line reason. The full
message quotes the pattern back inside a wrapper the user never typed
((?:foo()), with a caret under it, which reads worse than the reason.