in reply to Re^2: how to extract string by possible groupings?
in thread how to extract string by possible groupings?

> It's possibly that a capture group was missed in your explanation:

no, I started counting with 0 and you with 1.

see Re^3: how to extract string by possible groupings? for why I did what I did! :)

Cheers Rolf

(addicted to the Perl Programming Language)

  • Comment on Re^3: how to extract string by possible groupings?

Replies are listed 'Best First'.
Re^4: how to extract string by possible groupings?
by davido (Cardinal) on Jun 02, 2014 at 23:57 UTC

    Good call! :) As you probably guessed, I was considering \1, \2..., and their counterparts, $1, $2, etc.


    Dave