good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Is there a regex match for an empty string ?by Eliya (Vicar) |
on Mar 19, 2012 at 23:21 UTC ( [id://960493]=note: print w/replies, xml ) | Need Help?? |
or better /^\z/ (as /^$/ also matches "\n", which is not an empty string).
In Section
Seekers of Perl Wisdom
|
|