There's more than one way to do things | |
PerlMonks |
Re: Regex negative wordby unobe (Scribe) |
on Apr 02, 2006 at 04:15 UTC ( [id://540701]=note: print w/replies, xml ) | Need Help?? |
Just for fun, I decided to try using (?(cond)ptrue[|pfalse]) , a regexp feature I learned just yesterday while reading the Perl Pocket Reference. However, reading perldoc perlre, I noted something the Perl Pocket Reference didn't: this feature is "highly experimental". That's probably why it wasn't used by anyone in the first place. Since this isn't in the first place, no harm done. :-)
In Section
Seekers of Perl Wisdom
|
|