Skip to content
Tcl Source Code History Of Ticket 1366683
Login

History Of Ticket 1366683

Artifacts Associated With Ticket 1366683

  1. Ticket change [4157eba7f4] (rid 116175) by cleverly on 2005-11-26 01:04:29:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      % info patchlevel
      8.4.11
      % regexp {^.(.)\1.$} 1220
      1
      % lsearch -regexp {1200 1210 1220 1230 1240 1250}
      {^.(.)\1.$}
      couldn't compile regular expression pattern: invalid
      backreference number
      
      On the chat Jeff Hobbs pointed out that it is because
      [lsearch -regexp] compiles the regular expression with
      the TCL_REG_NOSUB flag set (which inhibits capturing
      parenthesis which backreferences require).  Simply fix
       is to remove the TCL_REG_NOSUB flag?
      
      I think that [lsearch -regexp] should support regexp's
      with backreferences, or, at the least, the man page
      updated with the caveat that it doesn't support
      backreferences (and a better error message).
      
    4. foundin initialized to: "obsolete: 8.4.11"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "cleverly"
    9. subsystem initialized to: "17. Commands I-L"
    10. title initialized to:
      lsearch -regexp does not support regexp's w/backreferences
      
    11. type initialized to: "Bug"
  2. Ticket change [2e8c643ca9] (rid 119242) by dkf on 2005-11-29 17:33:48:

    1. closedate changed to: "2005-11-29T10:33:48"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      Fixed in HEAD and 8.4 branch.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"