your suggestion is a pure regex, which makes perfect sense in J. Friedl's book, but I do not think it is more selective than my proposal, mixing a regex and some arithmetics, which looks for four dot-separated integer numbers smaller than 256. (Except that I used \d instead of [0-9] for brevity, so that my regex might match (non-Arabic) Unicode digits, but that's easily fixed.)
In reply to Re^3: Seeker of Regex Wisdom (strings which don't form specific patterns)
by Laurent_R
in thread Seeker of Regex Wisdom (strings which don't form specific patterns)
by ilcylic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |