Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2020-04-24
20:40 • Ticket [cc4d805771] reg-13.17.error fails in 8.5 tip status still Closed wit... artifact: 87968b6476 user: jan.nijtmans
20:39
Fix [cc4d805771]: reg-13.17.error fails in 8.5 tip check-in: 8363cf9bbd user: jan.nijtmans tags: core-8-5-branch
16:32 • Closed ticket [cc4d805771]: reg-13.17.error fails in 8.5 tip plus 7 other ch... artifact: 28e47901aa user: dgp
16:24 • Ticket [cc4d805771]: 3 changes artifact: c13cd60153 user: dgp
16:16 • Ticket [cc4d805771]: 3 changes artifact: c7c1d7fc95 user: dgp
15:50 • New ticket [cc4d805771]. artifact: 5c34fd1969 user: dgp

reg-13.17.error fails in 8.5 tip

Closed / Fixedcc4d80577118b20ecd1d8c2afcd60c29c68c2139Created 7 years agoUpdated 7 years ago
Descriptionplain2020-04-24 15:50:43
==== reg-13.17.error RE engine escapes (error) FAILED
==== Contents of test case:
list [catch {testregexp -about {a\u008x}}] [lindex $::errorCode 1]
---- Result was:
0 REG_EESCAPE
---- Result should have been (exact matching):
1 REG_EESCAPE
==== reg-13.17.error FAILED
Referenced by1
dgpplain2020-04-24 16:16:43
TIP 388 is 8.6+ only.
dgpplain2020-04-24 16:24:50
It is strange though that Tcl 8.5 language backslash substitution is happy
with \u008x while until now the regexp compiler has choked on it.  I could see
the argument that this is really the backport of a bug fix, and we just missed
backporting the changed test expectation too.
dgpplain2020-04-24 16:32:37
Updated the failing test.  Added another one so we still have reporting
of escape syntax error covered.
jan.nijtmansplain2020-04-24 20:40:47
Actually, the change from a '4' into '1' was unintended. I just backported a little too much. So I undid the unintended part of the change, and changed back the testcase

Thanks!
Log in (anonymous is fine) to add a comment.