Skip to content
Tcl Source Code History Of Ticket 1822052
Login

History Of Ticket 1822052

Artifacts Associated With Ticket 1822052

  1. Ticket change [410df2c1d1] (rid 116112) by meliorator on 2007-10-29 11:46:12:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When matching with an expression that has optional parenthesized subexpressions, it would be useful if a value for the relevant subMatchVar could be set, in the eventuality that the subexpression was not matched.
      
      Example:
      regexp {(foo)(bar)?} foobar matchVar subMatchVar1 {subMatchVar2 bar}
      
      This would set the value of subMatchVar2 to bar, whether it matched it or not. It is a rather basic example of the feature that I would like to use in much more complex expressions.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "meliorator"
    10. subsystem initialized to: "18. Commands M-Z"
    11. title initialized to:
      regexp feature to specify a default value for subMatchVar's
      
    12. type initialized to: "RFE"
  2. Ticket change [4b667ccdb0] (rid 126706) by dkf on 2009-07-13 19:42:15:

    1. icomment:
      Right now, it's hard-coded to use the empty string. If you need that much control, it might be easier to use the -indices mode instead.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"