Fix for Rust master. Fix error handling in the regex parser.