"Tarzan", she said.
"Tarzan"|Tarzan.
If matches can be overlapping, then the inner Tarzan is matched in spite of being surrounded in quotes, and the capture register is bound and all.
This works not as a property of the regex (what it matches), but the regex combined with a scanning algorithm that extracts non-overlapping matches.
If matches can be overlapping, then the inner Tarzan is matched in spite of being surrounded in quotes, and the capture register is bound and all.
This works not as a property of the regex (what it matches), but the regex combined with a scanning algorithm that extracts non-overlapping matches.