bytes_regex()
only allows regexs that match valid UTF-8
#238
Labels
duplicate
This issue has been reported somewhere else
Proptests trying to generate invalid UTF-8 sequences with
bytes_regex()
result in an error.Source:
Error:
This makes them much less useful in practice. Maybe creating a parser with
regex_syntax::ParserBuilder::allow_invalid_utf8()
set to true is sufficient to fix this.The text was updated successfully, but these errors were encountered: