3 ms·
I’m not at all the first person to make a distinction between “regex” and “regular expression”. (First result on google for “regex vs regular expression”) http
by nickysielicki 6y ago
I’m not at all the first person to make a distinction between “regex” and “regular expression”. (First result on google for “regex vs regular expression”)
https://www.rexegg.com/regex-vs-regular-expression.html https://www.rexegg.com/regex-vs-regular-expression.html
> Perl had a huge influence on the flavors of regular expressions used in most modern engines today. This is why modern regular expressions are often called Perl-style. The differences in features across regex engines are considerable, so in my view speaking of Perl-style regular expressions only makes sense when one wants to make it clear one is not talking about the ivory tower brand of mathematically-correct expressions.
> But if you really want to avoid ambiguity, just say regex, as that is one word that white-coat computer scientists are not claiming.
- pseudalopex 6y agoNo one said you were the first. And obviously adding vs changes the results. Your own source says "This is why a small minority of people today (most of whom have email addresses ending with .edu) will maintain that what we call regex are not regular expressions. For the rest of us… Regex and regular expressions? Same-same."
- nickysielicki 6y ago... uh, right. Which is what I said in my top comment in this thread... Which you replied to, and called me out for having made a distinction where you thought one didn’t exist. Huh?
- pseudalopex 6y agoYou said typical usage distinguishes between regular expression and regex. Your source says it doesn't.