Skip to content
Tcl Source Code History Of Ticket 1116050fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1116050fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1116050fffffffffffffffffffffffffffffffff

  1. Ticket change [9c366e9ceb] (rid 111248) by jkbonfield on 2005-02-04 09:27:58:

    1. assignee initialized to: "pvgoran"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The documentation has an example:
      
      "([bc])\1 matches bb or cc but not `bc'". So I tried:
      
      % regexp {^([bc])\1$} bb
      1
      % regexp {^([bc])\1$} cc
      1
      % regexp {^([bc])\1$} bc
      0
      
      All well and good. But what if we want b* or c* but not
      [bc]* (ie disallow bbcb). The obvious solution is \1*:
      
      % regexp {^([bc])\1*$} bbb
      1
      % regexp {^([bc])\1*$} bcb
      1
      
      bcb should not match!
      
      Oddly, using \1+ works (but means of course that "b" or
      "c" solo does not match).
      
      James
      
    4. foundin initialized to: "obsolete: 8.4.9"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "jkbonfield"
    9. subsystem initialized to: "43. Regexp"
    10. title initialized to: "Regexp backreference fail with a * closure"
    11. type initialized to: "Bug"
  2. Ticket change [1d208ce45b] (rid 90740) by dkf on 2005-02-04 17:26:24:

    1. closedate changed to: "2005-02-04T10:26:24"
    2. closer changed to: "dkf"
    3. resolution changed to: "Duplicate"
    4. status changed to: "Closed"