Skip to content
Tcl Source Code History Of Ticket 1513763fffffffff
Login

History Of Ticket 1513763fffffffff

Artifacts Associated With Ticket 1513763fffffffff

  1. Ticket change [204a8587b3] (rid 91288) by nobody on 2006-06-28 05:20:42:

    1. assignee initialized to: "pvgoran"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When I use regexp {^(oo+?)(\1)*$} to verify a number 
      is prime or not. The result was abnormal.
      
      I use another script like perl, python ...
      It does work.
      
    4. foundin initialized to: "obsolete: 8.4.13"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "43. Regexp"
    10. title initialized to: "The result of regexp is abnormal"
    11. type initialized to: "Bug"
  2. Ticket change [db7e2fe903] (rid 107973) by nobody on 2006-06-28 12:20:42:

    1. icomment:
      
      
      File Added - 183214: prime.tcl
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  3. Add attachment "prime.tcl" [0b50f58abf] (rid 113961) by nobody on 2006-06-28 12:20:42.

  4. Ticket change [b392a22a3e] (rid 124881) by dkf on 2006-06-28 15:45:47:

    1. closedate changed to: "2006-06-28T08:45:47"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      I've no idea what the above regular expression is trying to
      achieve, since it will match any non-empty sequence of 'o'
      characters (the * allows bits to be ignored). However, if I use:
         ^(oo+?)\1+$
      as the RE (dropping one set of parens for simplicity and
      changing to using a +) then I get a perfectly adequate
      non-prime detector.
         % info patch
         8.4.7
         % #Print the lowest prime factor of 169...
         % string length [lindex [regexp -inline {^(oo+?)\1+$}
      [string repeat o 169]] 1]
         13
      
      Looks like pilot error to me.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Works For Me"
    7. status changed to: "Pending"
    8. username: "dkf"
  5. Ticket change [9a99d2059f] (rid 110974) by sf-robot on 2006-07-13 09:20:18:

    1. closedate changed to: "2006-07-13T02:20:18"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"