in reply to Re^2: Regex text extraction b/w first intance of pattern X and third instance of pattern Y.
in thread Regex text extraction b/w first intance of pattern X and third instance of pattern Y.

BrowserUK:

I think the "expanded" problem is reasonable given the title, since the title specifies patterns X and Y rather than specific characters. The way I read the OP is that (s)he properly simplified it to a trivial case in the example.

...roboticus

  • Comment on Re^3: Regex text extraction b/w first intance of pattern X and third instance of pattern Y.

Replies are listed 'Best First'.
Re^4: Regex text extraction b/w first intance of pattern X and third instance of pattern Y.
by BrowserUk (Patriarch) on Mar 31, 2010 at 17:15 UTC

    I agree, though the use of index isn't going to handle "patterns" in the "Regex" sense of the term. But absense the narrative, it would have had my upvote.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.