logoalt Hacker News

lstoddtoday at 5:03 PM1 replyview on HN

Do you mean most of uses of grep are backreferencing? In my 30-yr career I did not use regex backrefs once except for learning them.


Replies

serbuvladtoday at 5:20 PM

No, it just gets much more complicated to implement grep both in general, and especially in hardware if you support backreferences, since those make it impossible to compile the regular expression into a state machine.