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
8363cf9bbdFix [cc4d805771]: reg-13.17.error fails in 8.5 tip check-in2020-04-24 20:39:05
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.