I've written a very rudimentary function that takes a regex and turns it into pretty HTML with highlighting around captured groups of text (for backrefs), meta characters, etc. Problem is, it is very basic and doesn't handle things like non-capturing references, etc. So, does anyone know of a good, well-thought-out module or example of a "complete" regexp highlighter, written in perl? I poked around CPAN and found many syntax highlighters, but nothing specific for regex.
thanks!