News for hackers. Stuff that matters.
Re:Regular Expression That Checks If A Number Is Prime by btilly on Monday September 12, 2016 @12:18PM (#12480984)
Perl started with Henry Spenser's regular expression library, which was written in the mid-1980s. That got used in a lot of places, and may have been used in sed. It includes backreferences. I don't know what predates that.

Perl used that as a starting place and began adding extensions such as the difference between .* and .*?.

So using "non-regular thing" as a regular expression predates Perl. But the dialect we standardized on with the features people now expect is due to Perl's influence.

There are no comments on this comment yet.