in reply to Re: Keeping lookahead assertion from looking to the end of the string?
in thread Keeping lookahead assertion from looking to the end of the string?

Limbic~Region, thanks and I think that the solution you provided will work the best. I don't know why I didn't think of using the ".*" at the beginning of the string before to make it match minimally over "start .. end". Thanks for all of the help!
  • Comment on Re: Keeping lookahead assertion from looking to the end of the string?

Replies are listed 'Best First'.
Re: Re: Keeping lookahead assertion from looking to the end of the string?
by swackerl (Initiate) on Sep 05, 2002 at 22:48 UTC
    After taking another look, I think that the original reason why I wanted to use lookahead expressions was that the "start ... end" strings may be nested, as in the example provided by Limbic~Region. It looks like I'll need to use looping and string manipulation in place of a single regular expression. *sigh*