bdimych has asked for the wisdom of the Perl Monks concerning the following question:
Hi
but
imho looks strange
I could not find something in documentation
why so?
prints nothing as expectedperl -e 'print ""=~/foo/ and ""=~/bar/'
but
prints 1perl -e 'print ""=~/.*/ and ""=~/bar/'
imho looks strange
I could not find something in documentation
why so?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perl regular expressions and empty strings unexpected results
by moritz (Cardinal) on Jan 23, 2012 at 09:44 UTC | |
Re: perl regular expressions and empty strings unexpected results
by Anonymous Monk on Jan 23, 2012 at 10:19 UTC |
Back to
Seekers of Perl Wisdom