in reply to Re: Help with regex, how to get the largest integer in a string?
in thread Help with regex, how to get the largest integer in a string?
Just a question: What is the lookahead needed for?
It seems to mee that
Max
It seems to mee that
works as well.my @arr = split /(\D+)/, $s;
Max
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Help with regex, how to get the largest integer in a string?
by naikonta (Curate) on Apr 19, 2007 at 14:31 UTC | |
by BrowserUk (Patriarch) on Apr 19, 2007 at 15:24 UTC | |
by naikonta (Curate) on Apr 19, 2007 at 15:52 UTC |
In Section
Seekers of Perl Wisdom