Skip to content
Tcl Source Code History Of Ticket 2987620fff
Login

History Of Ticket 2987620fff

Artifacts Associated With Ticket 2987620fff

  1. Ticket change [bd75ebff44] (rid 101909) by grahack on 2010-04-15 09:55:58:

    1. assignee initialized to: "davidw"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      There are two occurrences of )* in this page:
      http://www.tcl.tk/man/tcl/tutorial/Tcl20a.html
      which are:
      capture the digits before and after the period for special processing:  [-+]?([0-9])*\.?([0-9]*)
      and
      then "([^"])*" will capture the text inside the double quotes.
      
      It should be *).
      
      % set s 87.65
      87.65
      % regexp {([0-9])*\.?([0-9]*)} $s all first sec
      1
      % set first
      7                       <----  BAD
      % set sec
      65
      % set s {"tavu"}
      "tavu"
      % regexp {"([^"])*"} $s all res
      1
      % set res
      u                         <----  BAD TOO
      
      
    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: "grahack"
    10. subsystem initialized to: "75. Tutorial"
    11. title initialized to:
      tutorial: typo in regexps (chap More Examples Of Regular Exp
      
    12. type initialized to: "Bug"