![]() |
|
Just another Perl shrine | |
PerlMonks |
Is greediness irrelevant when matching whole lines?by loris (Hermit) |
on Aug 27, 2007 at 07:45 UTC ( #635230=perlquestion: print w/replies, xml ) | Need Help?? |
loris has asked for the
wisdom of the Perl Monks concerning the following question:
Dear all, Am I right in thinking that, if I am matching whole lines, rather than parts of lines, greediness or not relevant when constructing the regular expression? Thanks, "It took Loris ten minutes to eat a satsuma . . . twenty minutes to get from one end of his branch to the other . . . and an hour to scratch his bottom. But Slow Loris didn't care. He had a secret . . ." (from "Slow Loris" by Alexis Deacon)
Back to
Seekers of Perl Wisdom
|
|