AntiPattern
Misunderstood Capture Semantics
stale-capture-and-stream-position-assumptions
Regex groups can retain stale captures when re-evaluated due to quantifiers, so later logic reads the wrong subsequence. Similarly, stream transformations assuming you can “go back” to prior positions fail, breaking count/split decisions.