Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
👕
Browse files Browse the repository at this point in the history
  • Loading branch information
torn4dom4n committed Feb 24, 2017
1 parent 876d647 commit 314a3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/match-iterator.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class BackwardsMultiLine
# If the match occurs at the beginning of the chunk, expand the chunk
# in case the match could have started earlier.
break if matchStartIndex is @chunkStartIndex and @chunkStartIndex > @startIndex
break if matchStartIndex > @chunkEndIndex or (matchStartIndex == @endIndex and @rangeEndColumn > 0)
break if matchStartIndex > @chunkEndIndex or (matchStartIndex is @endIndex and @rangeEndColumn > 0)

if matchEndIndex > @chunkEndIndex
@regex.lastIndex = 0
Expand Down

0 comments on commit 314a3dd

Please sign in to comment.