pub fn invalid_regex_value(pattern: &str, err: Error, span: Span) -> ShellErrorExpand description
Map a fancy-regex compile failure to ShellError::InvalidValue.
Shared by EngineState::compile_regex and call sites that compile with
options that bypass the LRU cache (for example a custom backtrack limit).