|
2007-12-24
| ||
| 04:31 | • Closed ticket [1857126fff]: no back references in regexp plus 7 other change... artifact: 4524c6b7f0 user: hobbs | |
| 03:41 | • Pending ticket [1857126fff]. artifact: 0c1a1421ba user: hobbs | |
| 02:33 | • Ticket [1857126fff]: 1 change artifact: 3fc02c5460 user: dkf | |
|
2007-12-23
| ||
| 18:54 | • New ticket [1857126fff]. artifact: ca8ab0eb54 user: nobody | |
no back references in regexp
Closed / Fixed1857126fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-12-23 18:54:25
I have some problems with my back references in Tcl85
Here I use the example from current Tcl 8.5 documentation
[artur@localhost tests]$ /opt/tcl8412/bin/tclsh8.4
% regexp {([bc])\1} bb
1
% [artur@localhost tests]$ /opt/tcl85/bin/tclsh8.5
% regexp {([bc])\1} bb
couldn't compile regular expression pattern: invalid backreference
number
%
dkf Ticket [1857126fff]: 1 change
[History diff]2007-12-24 02:33:05
hobbsplain2007-12-24 03:41:31
Logged In: YES
user_id=72656
Originator: NO
(Tcl) 52 % info patch
8.5.0
(Tcl) 53 % regexp -inline {([bc])\1} bb
bb b
Using AT 8.5.0 on XP
hobbsplain2007-12-24 04:31:03
Logged In: YES user_id=72656 Originator: NO * generic/tclCompCmds.c (TclCompileRegexpCmd): TCL_REG_NOSUB cannot * tests/regexp.test (regexp-22.2):be used because it * tests/regexpComp.test:[Bug 1857126]disallows backrefs.
Log in (anonymous is fine) to add a comment.