3 ms·
I'll ask the "dumb question" then: What is a PCRE? How is it different than a "true" regex?
by Hydraulix989 10y ago
I'll ask the "dumb question" then: What is a PCRE? How is it different than a "true" regex?
- robewald 10y agoPCREs are Perl Compatible Regular Expressions, they have backreferences and other constructs. Almost all languages that have Regular Expressions have similar constructs. "Computer Science" Regular Expressions are more limited and implement a "regular language" as defined in https://en.wikipedia.org/wiki/Chomsky_hierarchy https://en.wikipedia.org/wiki/Chomsky_hierarchy. This gives some guarantees, which go out the window with PCREs.