patrickhuber / Pliant

MIT License
26 stars 4 forks source link

Using shorthand character classes such as \s, \w doesn't provide the correct terminal #63

Closed patrickhuber closed 7 years ago

patrickhuber commented 7 years ago

using RegexParser to parse "[\s]" provides CharacterTerminal('s') as the output. It should provide a WhitespaceTerminal instead. Other character classes such as \d and \w are also not supported.