Stop matching when lastmatch points to '\n'
This situation happens with something like s/$/test/, where rm_so == rm_eo == 0. Without this check, ed keeps looping forever.
This commit is contained in:
parent
0b117ab6c0
commit
cf868c8eeb
Loading…
Reference in New Issue
Block a user