On Sep 24, Brian Ling said:

>Does anyone know how to save any data that is matched
>by regular expression, from within a string or array,
>the match could occur any number of times.

  push @matches, $string =~ /pattern/g;

I *think* that's what you want... you're being a little to vague, though.
Care to show an example or two?

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to