Python regular expression tester

19 September 2005   1 comment   Python

http://cthedot.de/retest/

Mind That Age!

This blog post is 13 years old! Most likely, its content is outdated. Especially if it's technical.

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.

Comments

Doug
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

Your email will never ever be published


Related posts

Previous:
'Cache-Control' or Expires 16 September 2005
Next:
Smurl from Python 22 September 2005
Related by Keyword:
CSS selector simplifier regular expression in JavaScript 20 December 2017
Using Lovefield as an AJAX proxy maybe 30 September 2015
AJAX or not 22 December 2014
Advanced live-search with AngularJS 04 February 2014
Lazy loading below the fold 26 October 2013
Related by Text:
jQuery and Highslide JS 08 January 2008
I'm back! Peterbe.com has been renewed 05 June 2005
Anti-McCain propaganda videos 12 August 2008
I'm Prolog 01 May 2007
Ever wondered how much $87 Billion is? 04 November 2003