7 ms·
What was wrong with the GNU basic regex? If you're going to write a stripped down string matching syntax more strictly for "regular" text then why bother menti
by a8da6b0c91d 11y ago
What was wrong with the GNU basic regex?
If you're going to write a stripped down string matching syntax more strictly for "regular" text then why bother mentioning perl?
- lincolnq 11y ago"Perl Compatible Regex" (pcre.org) is a popular regex library. The name PIRE is presumably a reference to that.
- a8da6b0c91d 11y agowoosh
- lylepstein 11y agoSeems like a riff on the famous Perl Compatible Regular Expressions library (http://www.pcre.org http://www.pcre.org), which is used in a bunch of high-profile things (PHP, and Apache Server, for starters). Kind of like "less" vs "more". So a bit of an inside joke I guess, but most people familiar with regexes will probably have heard of PCRE, so it's not a terribly obscure reference. I liked it :)
- a8da6b0c91d 11y agoPCRE is a set of extensions to RE to enable parsing of nonregular grammars. This is just RE. It's like calling some hypothetical language C++--. It doesn't make sense.
- kbenson 11y agoWell, if I designed a language that was C++ but stripped of some specific features for a purpose that made it less than C++, but still not quite just C, I might call it C++-- as a joke. In that respect, I think it makes perfect sense.
- brudgers 11y agoThere's nothing wrong with it. Its implementation however is optimized for some use cases and not others. It appears that the folks at Yandex did not feel that crawling the web at their scale was one among the tasks for which it was suited.