The fallback non-neko interpreter doesn't support \s or \w in regex, or
a mechanism to escape ] for use in character classes. Changes the \s and
] cases to use a str.indexOf instead of regex.
NOTE: This breaks \v and \f in the preprocessor (due to Haxe's lack of \v and
\f escapes), however I haven't seen such a character in decades.
The fallback non-neko interpreter doesn't support \s or \w in regex, or a mechanism to escape ] for use in character classes. Changes the \s and ] cases to use a str.indexOf instead of regex.
NOTE: This breaks \v and \f in the preprocessor (due to Haxe's lack of \v and \f escapes), however I haven't seen such a character in decades.