more useful options | |
PerlMonks |
Re^2: non-exact regexp matchesby vinforget (Beadle) |
on Jun 23, 2004 at 15:32 UTC ( [id://369075]=note: print w/replies, xml ) | Need Help?? |
Optimally, I want to match any regexp, but I am not sure if regexps in perl can handle this in a stable fashion. I've been using regexp to report all nested pattern matches with positions of matches using $-[0]:
but everywhere I look most people say to stay away from this stuff because: 1) it is not stable 2) it may not be supported in newer versions of perl. So I'm not sure if I should take a more specific yet stable approach, or a generalisable yet potentialy unstable approach.
In Section
Seekers of Perl Wisdom
|
|