Öznur tastan wrote: > > ----- Original Message ----- > From: "Rob Dixon" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 20, 2004 4:17 PM > Subject: Re: all matches of a regex-continued > > > > Öznur tastan wrote: > > > > > > 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: / > > > > Are you just saying that the patterns that you want to split on > > can be regexes themselves instead of plain strings? I think my solution > will > > do that fine, but you need to give us an example. All the solutions > > you've been offered so far are based on your original example. You said: > > I think there has been a discontuinty in replies (the mails didn't contain > everything) and I couldn't be very explanatory > (:( sorry) > you are right the patterns can ve regexes themselves. I just couldn't figure > out how to modify your code.
OK, but may we have an example of a target string and a set of patterns that you need to work with? Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>