in reply to Re: Maximal match in a recursive regex ([^][]+)
in thread Maximal match in a recursive regex

Huh. And I wasn't even attempting to mentally match the internal brackets with the external ones. I just wrote it correctly so I wouldn't need backwhacks and that it coincidentally looks like two classes entirely escaped me. Thanks for altering me to that mental blindspot.

  • Comment on Re: Re: Maximal match in a recursive regex ([^][]+)