in reply to Re: Regular expression for finding acronyms
in thread Regular expression for finding acronyms

Thanks for pattern and its explanation. That way is a lot simpler and gets the desired result.

I had not known that capture groups could be nested like that, nor non-capture markers either.

  • Comment on Re^2: Regular expression for finding acronyms

Replies are listed 'Best First'.
Re^3: Regular expression for finding acronyms
by jcb (Parson) on Aug 16, 2019 at 05:12 UTC

      Yes, I've been poring over perlre a lot lately. However, it has been past time to revisit perlretut.