Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Regular Expression Testby AnomalousMonk (Archbishop) |
on May 05, 2017 at 22:06 UTC ( [id://1189624]=note: print w/replies, xml ) | Need Help?? |
As Laurent_R noted, the general form of this problem is potentially very difficult. The usual approach is to restrict as much as possible the regex operators to be supported. For an interesting (and possibly even helpful!) discussion of the problem, see Higher Order Perl, (free download here), section 6.5 "Regex String Generation". Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|