in reply to Re: about regular expression
in thread about regular expression
be careful, ryan.
.+ matches one or more characters.
.* matches zero or more characters.
augustina_s specified in her dataset that there might be an empty list in the dataset. the second .+ would break in that case.
also, you don't need to escape semi-colon (;).
~Particle
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: about regular expression
by ryan (Pilgrim) on Feb 03, 2002 at 04:50 UTC |
In Section
Seekers of Perl Wisdom