Re:Useful Perl one-liners (2013)
by teddyh on Wednesday November 30, 2016 @12:10AM
(#13068634)
What you describe happened far earlier. As far as I understand it, regexps were originally a part of ed (having been derived from QED), the original Unix text editor. Its “g” command with a “p” flag, or “g/re/p”, for globally searching for a regexp and printing the matching lines, was later found so useful that it was implemented into a separate utility, “grep”. Many Unix utilities started using regular expressions from then on, including Perl.
[ Parent
| on HN ]
Re:Useful Perl one-liners (2013)
by throwbsidbdk on Wednesday November 30, 2016 @12:38AM
(#13068721)
Maybe I was a hit too excited about the perl part. Perl perfected regex and the perl regex engine was integrated into other languages until it became a normal language feature.
Regex as we know it was largely a result of the adoption of perl and the flexibility of its regex engine