Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
livecheck: Stop on negative regexp offset
If the given regex is an empty string, regexp returns indices {0 -1}. This -1 was taken as the offset where to start applying the regex again, leading to an infinite loop handling the same line over and over. (cherry picked from commit d33a8a0)
- Loading branch information