Kung Fu Kung Fu

Fujian White Crane Kung Fu

Zope Zope

What I have and am doing with Zope

Photos Photos

Photoalbum, both old and new.

Receptsamlingen Receptsamlingen

In Swedish only. About my "Collection of Recipes" website.

Contact me Contact me

My contact details and how to contact me.

  Mobile version of this page Mobile version of this page


 

Python regular expression tester

http://cthedot.de/retest/

regular expression, regular expressions, ajax, simplehttpserver, christof hoeke

19th of September 2005

retest I've just discovered retest by Christof Hoeke which is a developers tool for testing and experimenting with regular expressions. It doesn't have a GUI so it uses SimpleHTTPServer to serve a web interface on http://localhost:8087 that uses AJAX to make the interface snappier. You use this if you feel uncertain how to write your regular expression syntax and need a helpful sandbox for playing in.

This is cool because as an application it's very modern. The source code is only 100 lines python code, some javascript code for the AJAX and a relatively simple HTML page. A genuine GUI app would be considerably much more code but would admittedly run faster. However, considering how "basic" this application is, speed is not an issue.

Personally I'm not big fan of these kind of programs for creating regular expressions (which is not Christof's fault). I still prefer to use the good old python interpreter, but if I'd ever need to work with a lot of regular expression in one day I could very well reconsider using a dedicate app like this.


Comment

Doug - 26th September 2005  [«« Reply to this]
This looks like a wicked little app. Have you heard of the Regex Coach?
Totally free app like Retest but its got its own interface and is used for constructing and experimenting with regular expressions.

You can get it here: http://www.weitz.de/regex-coach/

http://blog.straw-dogs.co.uk
 
Name:
Email:
hide my email address.

Your email address will be encoded to prevent email-extraction spiders from reading it so you won't get spammed if you decide to show your email address.