Welcome to the Monastery | |
PerlMonks |
Re^2: How Greedy is Greedy: A Regex Questionby dsb (Chaplain) |
on Apr 25, 2007 at 14:00 UTC ( [id://612020]=note: print w/replies, xml ) | Need Help?? |
Actually, i wasn't complaining at all. Rather inquiring as to what it is about the ? that makes the expression non-greedy back when I was still first tackling regexes.
That said, I fail to see what .? would accomplish. It would match 0 or 1 non-newline characters, which has nothing to do with the OP. Perhaps you can expand on you thinking?
dsb This @ISA my( $cool ) %SIG
In Section
Seekers of Perl Wisdom
|
|