Manifest of check-in
[16686eeb78]
- Fix [471101ffff] and [884d0ac78c]: regexp/regsub -all restarted matching on the substring after the previous match, so \A, ^ (without -lineanchor) and word constraints matched again there. Search from the current offset in the whole string instead. New tests regexp-29.*; regexp-16.4 updated.
by
serhiy.storchaka on
2026-10-10 17:41:55.
B e55edf971f641947d736befb81971edec885388f62a5c007bb4e99371cd0f5a0
C Fix\s[471101ffff]\sand\s[884d0ac78c]:\sregexp/regsub\s-all\srestarted\smatching\son\sthe\ssubstring\safter\sthe\sprevious\smatch,\sso\s\\A,\s^\s(without\s-lineanchor)\sand\sword\sconstraints\smatched\sagain\sthere.\sSearch\sfrom\sthe\scurrent\soffset\sin\sthe\swhole\sstring\sinstead.\sNew\stests\sregexp-29.*;\sregexp-16.4\supdated.
D 2026-10-10T17:41:55.616
F generic/rege_dfa.c 6f29d4c6419459dbe012feae06138d7245c46ae3c06f5ebe77e6d8dfc71d3dcb
F generic/regex.h ca89b55d3e0bf375dee263c9dbe399aa669758239e5632682b8b233583def7d8
F generic/regexec.c 0fbd666c426229c9af3ada6b1f7d000bc6bcc95cba2adf05d5ecbb7080f65784
F generic/tclCmdMZ.c e996baa8fcae2a71bc799cd22b885eb8e263fecfcf9a9eee35a3350dc444d60e
F generic/tclRegexp.c 7759dfde2d2ef7f2e39acef5b17d9fad20e3ddb0ffe410f3bf3b79f840f7361c
F generic/tclRegexp.h 6ba6b3816ca150d42f9179e02091dd5fd770979272fc3217fe69eb8a682dc0d7
F tests/regexp.test 8fbaf89341b312c19ae9e9829e0cef1ecb887ed606d3f4e120a3b6b288786c19
F tests/regexpComp.test b288345c452bd611250761975249ba6bfd8853bd88607c2b8d7ed1ccc880c754
P e55edf971f641947d736befb81971edec885388f62a5c007bb4e99371cd0f5a0
R 03007aa19d042d647e64f138b321cf84
T *branch * regexp-all-search-start
T *sym-regexp-all-search-start *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z 05e96d86722567beccdcf35af61134f6