I\'m currently working on a scanner generator. The generator already works fine. But when using character classes the algorithm gets very slow.
The scanner generator pr
Look at what regular expression libraries like Google RE2 and TRE are doing.