Python regular expression tester

19 September 2005   1 comment   Python

http://cthedot.de/retest/

Mind That Age!

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

Powered by Fusion×

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.

Follow @peterbe on Twitter

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
Thank you for posting a comment

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:
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
UPPER vs. ILIKE 19 April 2010
Related by Text:
Recon - Regular Expression Test Console 14 January 2004
Crontab wizard 13 January 2004
Advanced live-search with AngularJS 04 February 2014
Local NodeJS development environment with Nginx 01 September 2010
What stumped me about AngularJS 12 May 2013