Regex matching an "AI self-audit" trailing section heading. Matches, from a heading like ## Pass 2 โฆ / ### Pass 2 โฆ / ## ๐ Pass 2 โฆ / #### Pass 2 โฆ, all the way to either end-of-file or whatever follows. The g flag is set so callers can iterate matches; consumers that need a single match should use the local non-g regex inside stripPassTwoSection instead of resetting lastIndex.
Regex matching an "AI self-audit" trailing section heading. Matches, from a heading like
## Pass 2 โฆ/### Pass 2 โฆ/## ๐ Pass 2 โฆ/#### Pass 2 โฆ, all the way to either end-of-file or whatever follows. Thegflag is set so callers can iterate matches; consumers that need a single match should use the local non-gregex inside stripPassTwoSection instead of resettinglastIndex.