Hacker News new | ask | show | jobs
by Blackthorn 34 days ago
A regex might be a programming language, a proper regular expression (which there are libraries for, like Google RE2) is just a regular language and I don't think you can even charitably call that a programming language.
1 comments

What's the difference between regex and regular expression? I always understood the former to be an abbreviation for the latter.
It is but what they mean is that many implementations (e.g. PCRE) are not actually regular languages, they're more powerful: https://www.npopov.com/2012/06/15/The-true-power-of-regular-...