Hacker News
points by Blackthorn 1 day ago | 0 comments
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.
[–] luhn 15 hours ago
What's the difference between regex and regular expression? I always understood the former to be an abbreviation for the latter.
[–] OJFord 14 hours ago
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-...