3 ms·
It's a shame that regular expressions are so often associated with Perl, as though they're a single topic. It's like speaking of astronomy and astrology in the
by lutusp 14y ago
It's a shame that regular expressions are so often associated with Perl, as though they're a single topic. It's like speaking of astronomy and astrology in the same breath.
- mikeash 14y ago"It's like speaking of astronomy and astrology in the same breath." Hmm... which is which?
- lutusp 14y agoWell, let's just say they're different. Also, I've been told there are ten astrologers for every astronomer. :)
- chris_mahan 14y agoAn astrologer has a question about stars. He says: "I know, I'll ask an astronomer." Now he has two problems. Sigh...
- mhd 14y ago"so often"? Really? That must be a rather particular age bracket, as newer programmers probably don't know Perl at all (apart from its reputation), and the old Unix-heads know that Perl itself didn't really invent them (or basically anything, as Larry Wall would be the first to admit). Sure, "Perl compatible" is a pretty common moniker (as in e.g. the "PCRE" library), as the POSIX (or original grep/sed) implementations are a bit anemic. And I don't think any of them deserves to be compared with astrology, but don't particularly care to get into that argument again. About as worthless as vim/emacs/IDE discussions.
- lutusp 14y ago> "so often"? Really? The relationship with Perl was a point made in the linked article. I personally don't use Perl any more, but I certainly use regular expressions. > And I don't think any of them deserves to be compared with astrology ... No, that wasn't meant as an analogy, just an example of contrasting entities that are sometimes confused. > About as worthless as vim/emacs/IDE discussions. Complete agreement.