pub fn normalize_pattern( pattern: &str, escape: EscapeBehavior, ) -> Result<String, EvalError>
Converts a pattern string that uses a custom escape character to one that uses the default.