Manifest of check-in
[9c141af9b5]
- * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): When using -all, all
attempts after the first to match the regexp against the string
should include the TCL_REG_NOTBOL flag, to avoid erroneously
matching ^ in the middle of the string. Added code to set this
flag after the first pass through the matching loop. [Bug: 6284].
by
ericm on
2000-09-20 01:50:37.
B 66347b65e49a6866c410d4c89031857f714db201
C *\sgeneric/tclCmdMZ.c\s(Tcl_RegexpObjCmd):\sWhen\susing\s-all,\sall\nattempts\safter\sthe\sfirst\sto\smatch\sthe\sregexp\sagainst\sthe\sstring\nshould\sinclude\sthe\sTCL_REG_NOTBOL\sflag,\sto\savoid\serroneously\nmatching\s^\sin\sthe\smiddle\sof\sthe\sstring.\s\sAdded\scode\sto\sset\sthis\nflag\safter\sthe\sfirst\spass\sthrough\sthe\smatching\sloop.\s[Bug:\s6284].\n
D 2000-09-20T01:50:37
F ChangeLog 1c91b9ab42c3b0e4e0e3190d7a10f90a97b6ac64
F doc/Eval.3 d5e448f57b3148880d8dacaee6ccd9c114447a94
F generic/tclCmdIL.c 85142be04f2354a8dd5abb49ba8497aad2fbf55c
F generic/tclCmdMZ.c ca054a280787555196728f312785f83d2d01aee6
F tests/cmdIL.test 222149c62d0aca120465612d9bcc396d51479424
F tests/regexp.test 4c242cab52115d88676b843d9990529d8dff780b
P 60baaa8f16d60937a750fbd8fe5f22d104b7a5e1
U ericm
Z 8d08794a38ab9fb3b36b12b8160a7467