I know nothing on regular expressions. When I was trying to build some, I was using an Tcl/Tk visualisation program called VisualREGEXP http://laurent.riesterer.free.fr/regexp
Unfortunately, there is some differencies between TCL and PHP regex (search option for example)
In order to be able to build and test my regular expressions, i build a small PHP script nemad regexp_view. It highlight capturing part of the regexp. As it can be useful for somebody else, I made it available here.
Be carefull, it is a quick coding and leak of lots of check in data given by the form. As it is intend to be used by programmers who use it locally on a developpement machine and who knows what they are doing, it should not be a problem.
⇑That software is free in the respect of 'GNU General Public License' (version 2) from Free Software Foundation. It is supplied as it is and without any warranty.
⇑To try it online, it is there .
⇑Date | Version | Changes | Statut |
---|---|---|---|
16 August 2008 | 0.1 | Fisrt public releasse. | In use. |
16 January 2009 | 0.2 | HTML explain what is highlighted, display what will be returned by PHP, highlight also captured parts in results. | In use |