Slashdot Mirror


(Useful) Stupid Regex Tricks?

careysb writes to mention that in the same vein as '*nix tricks' and 'VIM tricks', it would be nice to see one on regular expressions and the programs that use them. What amazingly cool tricks have people discovered with respect to regular expressions in everyday life as a developer or power user?"

3 of 516 comments (clear)

  1. Re:New Slashot Section by iammani · · Score: 0, Troll

    Maybe we should have a new section for "Useful Stupid Tricks" on Slashdot.

    ...So that i can block "Stupid Tricks" posts from appearing on my slashdot home page

  2. Re:Regexp-based address validation by feldicus · · Score: 1, Troll

    There's no such thing as a beautiful regexp.

    feldicus

  3. Re:is it an rfc-822 compliant e-mail address? by feldicus · · Score: 0, Troll

    It's things like that monstrosity that reinforce my belief that learning the ins and outs of regular expressions isn't worth the work.

    feldicus