Andrew Gallant 76343f8cd6 regex: ban (?-u:\B) for Unicode regexes
The issue with the ASCII version of \B is that it can match between code
units of UTF-8, which means it can cause match indices reported to be on
invalid UTF-8 boundaries. Therefore, similar to things like `(?-u:\xFF)`,
we ban negated ASCII word boundaries from Unicode regular expressions.
Normal ASCII word boundaries remain accessible from Unicode regular
expressions.

See #457
2018-05-01 16:48:46 -04:00
..
2018-05-01 13:28:53 -04:00