lib/regextest/front/bracket-scanner.rb in regextest-0.1.5 vs lib/regextest/front/bracket-scanner.rb in regextest-0.1.6

- old
+ new

@@ -21,13 +21,14 @@ [:LEX_BRACKET_END, %r!\]! ], [:LEX_CODE_LITERAL, LexCodeLiteral ], [:LEX_CONTROL_LETTER, - %r!\\c[a-z]|\\C-[a-z]|\\c\\\\|\\C-\\\\! ], + %r!\\c\\\\|\\C-\\\\|\\c[0-~]|\\C-[0-~]! ], + [:LEX_META_CONTROL_LETTER, + %r!\\M-\\C-[0-~]! ], [:LEX_META_LETTER, - # %r!\\M-(?:\\w|#{LexCodeLiteral.source})! ], - %r!\\M-(?:[a-z]|\\C-[a-z])! ], + %r!\\M-[0-~]! ], # [:LEX_ESCAPED_LETTER, # %r!\\[tvnrbfae #\{\}\[\]\(\)]! ], # \b is valid within character class [:LEX_UNICODE, %r!\\u\h{4}|\\u\{\h{1,6}(?:\s+\h{1,6})*\}! ], [:LEX_SIMPLIFIED_CLASS,