[Pdx-pm] regex regex

Jeff Lavallee jeff at zeroclue.com
Thu Jan 27 10:22:17 PST 2005


On Thu, 27 Jan 2005, Michael Rasmussen wrote:

> So I need a regex to find regexes.  Or do I?  Perhaps search for m|(/.*?/)| and then
> strip the /s and eval the remainder.

This would take a little more work, as regexes may not be denoted with "m"
and may not use "/" as a delimiter.

i.e.    /regex/
        m;regex;
        s'regex'replace'

I bet there's a CPAN module to help out with this....


jeff




More information about the Pdx-pm-list mailing list