XP is just a number | |
PerlMonks |
Re: Non-capturing zero-width negative lookaheadby Sidhekin (Priest) |
on Mar 22, 2007 at 16:31 UTC ( [id://606071]=note: print w/replies, xml ) | Need Help?? |
x $foo =~ /( (:? . | \n (?! \n\n) )+ ) /x You have a bug: (:? should be (?:. That's what ends up as your second capturing group.
print "Just another Perl ${\(trickster and hacker)},"
In Section
Seekers of Perl Wisdom
|
|