mirror of
git://git.suckless.org/sbase
synced 2025-03-31 07:39:50 +00:00
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