mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
This is tricky… basically when the scanner is matching across the same string repeatedly, it can recycle previous results if the following conditions are true: - The string is the same - We're matching at a position >= the last position - The result for the regex is a failure or starts >= the current start position