Regular expression syntax has been defined since the 50's (look up Stephen Kleen), sorry. They have been taught in compiler and theory courses for that same period of time.Milos wrote:That you haven't heard of something doesn't make it oddball. It just shows your own susceptibility to limitation. There is not only one standard for regular expression no matter how hard is for you to see that. Beside POSIX there is also PCRE standard which is much more powerful than 20+ years old POSIX and many modern languages such as Java, JavaScript, Python, Ruby, Microsoft's .NET Framework, and XML Schema use its flavour.bob wrote:If they want to use oddball definitions of regular expressions, I don't care. I was simply pointing out a potential problem if it interpreted regular expressions in a standard way.
"perl-compatible-regular-expressions" does NOT a standard make. Just shows how they were implemented in Perl, nothing more, nothing less. Pick up any good computer science theory text, then report back after you have educated yourself a bit rather than just trying to argue / insult, which is typical. And for the record, there are a bunch of significant differences between PCRE and perl regular expressions.