----- Original Message -----
From: "Randy W. Sims" <[EMAIL PROTECTED]>
To: "Öznur Taştan" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, February 20, 2004 2:11 PM
Subject: Re: all matches of a regex-continued


> On 02/20/04 07:03, Öznur Taştan wrote:
> > I didn't know something exists like this, thanks that will be very
helpful
> > but still
> > does this solve the problem of regular expression patterns istead of
keys
> > just as I mentioned in the first mail.
> > " I am still dealing with the same problem.
> > Rob has suggested me a good solution for macthing consecutive patterns
like
> >  H K D  but not more looser ones like for K[ED]{3,5}?  L.{3}A
> > andn my poor perl knowledge doesn't help me to generalize it: /"
>
> The @keys array can hold regexs as well as strings:
>
> my @keys = ('H', qr/K[ED]?/, qr/D{1,2}/);
>
> Regards,
> Randy.
>

THANKS A LOT :)
oznur
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to