hokein / Automata.js

A regular expression converter
http://hokein.github.io/Automata.js/
226 stars 23 forks source link

- causing error #6

Open pokeball99 opened 8 years ago

pokeball99 commented 8 years ago

((b-df-hj-np-tv-xz)|q(?=u))|((B-DF-hj-NP-TV-XZ)|Q(?=U)) When doing any of the coverters, the error "Error: Unknown type of -" shows up on the right side

hokein commented 8 years ago

Currently automata.js only supports 0-9,a-z, `and_` characters.(https://github.com/hokein/Automata.js/blob/master/src/lexer.js#L17). It makes sense to support more character.