mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
This will be a weapon in dealing with capture groups that nest within other capture groups, and also helps deal with trailing lookahead groups that don't belong in the main match. I made it a class method because it's stateless and that made it easier to test.