You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
regsub -all: don't loop forever when matching everywhere
Although "" and "x*" both match the empty string, the former
correctly exits, while the latter looped forever.
Match Tcl here by advancing by one char in both cases, but
in the latter case end of string is matched, while in the former
it is not.
Also prevent both cases from slicing a utf-8 char into bytes.
Fixes: #353
Signed-off-by: Steve Bennett <[email protected]>
0 commit comments