Link Details

Link 59517 thumbnail
User 111696 avatar

By bloid
via markchristian.org
Published: Jan 04 2008 / 14:25

I think of it whenever I try to tackle something using regular expressions, but most of the time, I spend more time wrestling with the regular expression engine than I do with the actual regular expression itself. I thought that the chainable operation of jQuery would work pretty well for regular expressions, so I gave it a shot. textMonster lets you chain as many regular expressions as you want together and iterate over their results in a straightforward manner.
  • 8
  • 1
  • 1100
  • 280

Comments

Add your comment
User 262015 avatar

mberrow replied ago:

0 votes Vote down Vote up Reply

This just seems to avoid learning how to use regular expressions directly.
In ruby, you could just write "The first number is foo123, the second number is bar456, and the third number is baz789.".scan(/\d{3}/)
giving ["123", "456", "789"]

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (1)