News for hackers. Stuff that matters.
Re:PrismJS by jarek-foksa on Tuesday July 31, 2012 @08:19AM (#4316824)
But smaller does not always mean better. Benchmarks have shown that parsers based exclusively on regular expressions can be even several times slower than parsers that use scanner/tokenizer.

The bigger regExps you write, the slower and more bug-prone your code will be.

There are no comments on this comment yet.