regular expression lexer test
regexp: simplify lexer by extracting macro
regexp: support posix bracket expressions
move and rename regex tests