good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Perl Idioms Explained - @ary = $str =~ m/(stuff)/gby tachyon (Chancellor) |
on Sep 16, 2003 at 04:44 UTC ( [id://291721]=note: print w/replies, xml ) | Need Help?? |
An interesting observation. The behaviour for (?:...) and naked match strings is however appropriate provided you have at least one capture (...) in the RE.
Depending on your viewpoint your observation represents a bug or a feature! cheers tachyon s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In Section
Meditations
|
|