Andrew Gallant 81297f09cf Disallow Unicode literals in character classes when Unicode is disabled.
When Unicode mode is disabled, we also disable the use of Unicode literals
in the regular expression, since it can lead to unintuitive behavior. In
this case, Unicode literals in character classes were not disallowed, and
subsequent code filtered them out, which resulted in an empty character
class. The compiler assumes that empty character classes are not allowed,
and so this causes an assert to trigger.

Fixes #250.
2016-07-09 19:07:24 -04:00
..
2016-06-16 07:21:00 -04:00