Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Regexp generating strings?by bsb (Priest) |
on Aug 20, 2003 at 00:53 UTC ( [id://285081]=note: print w/replies, xml ) | Need Help?? |
For Perl regexes, its seems rosy until you reach
look-aheads. /^(?=$rx1)$rx2/ needs to find the
intersection between the two languages defined
but $rx1 and $rx2, if it exists. Without the ^
anchor $rx1 is floating in $rx2, it becomes
substring instead of intersection.
It may be solvable, but not by me.
In Section
Seekers of Perl Wisdom
|
|