mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
This corrects a regression when pattern matching to the newline was added. If the newline is never matched the loop still needs to terminated so now when the position is before the newline and the last match had no tokens the loop is broken out of.