... I'm still hesitant to post regexp responses until after I've tested them ...
I'd go farther than that. My experience is that whenever I do not test a regex, no matter how simple it may seem, it's guaranteed to be wrong! It's like some kind of corollary of Murphy's Law. For me, regular expressions are the most counter-intuitive concept in CS (or in C-what-we-laughingly-refer-to-as-S). I think I have a fairly good understanding of regexes and a fair body of experience with them, but I would never trust my untested opinion.
Caveat Programmor
In reply to Re^3: Regex help needed
by AnomalousMonk
in thread Regex help needed
by ghosh123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |