From: SourceForge.net <no...@so...> - 2007-12-23 21:30:57
|
Bugs item #1857126, was opened at 2007-12-23 10:54 Message generated for change (Comment added) made by hobbs You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1857126&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 42. Regexp Group: current: 8.5.0 >Status: Closed >Resolution: Fixed Priority: 9 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Pavel Goran (pvgoran) Summary: no back references in regexp Initial Comment: 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 % ---------------------------------------------------------------------- >Comment By: Jeffrey Hobbs (hobbs) Date: 2007-12-23 13:31 Message: 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. ---------------------------------------------------------------------- Comment By: Jeffrey Hobbs (hobbs) Date: 2007-12-23 12:41 Message: 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1857126&group_id=10894 |