<i>regexp -all misses an empty match at the end of the string</i> status still Open with 3 other changes
by
.
D 2026-10-11T08:21:44.513
J icomment Proposed\sfix\sin\sbranch\s[/timeline?r=regexp-all-end-of-string|regexp-all-end-of-string]:\sthe\s<tt>-all</tt>\sloop\salso\stries\sat\sthe\send\sof\sthe\sstring,\sas\s<tt>regsub\s-all</tt>\sdoes.\sThe\sknownBug\smarks\sare\sremoved\sfrom\sregexp-23.5,\s23.7\sand\s23.9,\sand\sthe\stests\sthat\sexpected\sthe\sold\sresults\sare\supdated.\sTogether\swith\sthe\sfix\sfor\s[471101ffff]\s(branch\sregexp-all-search-start),\szero-width\sREs\slike\s<tt>\\y</tt>,\s<tt>\\m</tt>\sor\s<tt>$</tt>\sthen\sgive\sthe\ssame\smatches\swith\s<tt>-all</tt>\sas\sin\sother\sRE\sengines.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K b73f1296966202b2beeb14fec5534dec6a408012
U serhiy.storchaka
Z 67a1d45883a5c13a9e07fc3788268132