tags:

views:

405

answers:

5

I'm looking for a GUI based RegExp tester in the vein of rubular.com, or this javacript expression tester here, for OS X, to help me when writing regular expressions.

It would be really handy for it to work in more than one language (i.e. Python, Javascript, or Ruby).

Other than using MacVim's own find as you type tool, or a commandline editor like Vim or Emacs, (I use Textmate as my main editor), what are my options here?

+5  A: 
And
A: 

I've used and liked JRegExpTester:

http://jregexptester.sourceforge.net/

It's in Java and only does Java regexes, unfortunately.

There's also a handy FF plugin:

http://sebastianzartner.de/firefoxExtensions/RExT/

sleske
A: 

Reggy is really cool.
Does it build? The last time I've tested it the compiler just went "error".

+1  A: 

I've found a nice Regexp tester for Javascript here, which is available as a widget for OS X, and is even nice enough to give you numbered captures, something that's quite rare amongst RegExp testers.

However, to buy it you need to send some unspecified amount of money via paypal for it - I flipped a dollar in, partly because I didn't know whether it would be any good, and it turns out to be pretty nice.

http://robrohan.com/projects/widgets/

Chris Adams
A: 

Maybe you can just use one of the online RegExp testers, like this one.

Igor Oks