4 ms·
It's really disingenuous to sell your project as a replacement for regular expressions when it has greater expressive power than them in the Chomsky hierarchy.
by languagehacker 7y ago
It's really disingenuous to sell your project as a replacement for regular expressions when it has greater expressive power than them in the Chomsky hierarchy.
- HelloNurse 7y agoIt's a replacement for regular expressions in purpose, not according to theoretical equivalence criteria. The main selling points appear to be naming patterns in order to reuse them from libraries, functions, and more systematic grouping and lookahead operators: increased expressive power, which probably matters only in complex situations far beyond the limits of appropriate use of grep-like tools, is only a minor benefit.