I use regexpal / Data::Dumper / YAPE::Regex to test regex and references.
I spend lot of time to debug when lazy / greedy quantifier is involved (such as .+? vs .* and so on ). It works in regexpal but does not in the code.
In short - Is there a perl module to debug regex? I searched in cpan but haven't been able to find anything.