On Mon, 9 Aug 2004, Thomas Koenig wrote:
>Brian McCauley <> wrote:
>
>>> Assume I have a regexp, /^(hello)|(goodbye)$/ for example.
>>>
>>> I want to see wether a particular string matches part of that
>>> particular regexp,
>
>>Take a look at the source of File::Stream. A very similar problem is
>>solved in File::Stream::find and the solution to that problem could
>>probably be easily be adapted (simplified!) to solve your problem.
>
>I'm currently doing that, and trying to understand what YAPE::regexp
>does (which isn't too easy
I'd suggest switching over to Regexp:

arser. I'm hoping to get
Regexp::Explain out in the near future.
--
Jeff "japhy" Pinyan % How can we ever be the sold short or
RPI Acacia Brother #734 % the cheated, we who for every service
RPI Corporation Secretary % have long ago been overpaid?
http://japhy.perlmonk.org/ %
http://www.perlmonks.org/ % -- Meister Eckhart