in reply to Re: Special Variables in Regular Expression
in thread Special Variables in Regular Expression
The lazy modifier on the regex atom at the very end of the pattern -- the (...)?? -- means that the final capture is never needed to make the overall regex match, so the corresponding capture variable (i.e., $3) will never be defined.