LA.pm: Re: Regex

Arkadiy Sudarikov asudarikov at xceed.com
Tue Jul 3 13:57:03 CDT 2001


By the same token, if I had a regex matching multiple things, it would
return those things separetely, in a list. Correct?

> Okay, my ($truncated_text)=$text=~ m/(.{0,250}\b)/s
> 
> Is that true that m/(.{0,250}\b)/s returns a list value?
yup



More information about the Losangeles-pm mailing list