Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ac83b053d2535d2922d1fd0e747448d230d11cee
Ticket: 3604074fffffffffffffffffffffffffffffffff
Inifinite loop when matching regular expression
User & Date: sebres on 2013-02-11 23:06:39
Changes

  1. icomment:
    python is not consistent here also (does not always throw an error in this case) - however it has not a busy loop after 5-th group:
    # re.match('((a)*(b)*)*', 'abab').groups()
    ('', 'a', 'b')
    # re.match('(((a)*(b)*)*)*', 'abab').groups()
    ('', '', 'a', 'b')
    # re.match('(((((((a)*(b)*)*)*)*)*)*)*', 'ab').groups()
    ('', '', '', '', '', '', 'a', 'b')
    
    I try to fix this problem for tcl8.5 tomorrow...
    
    
  2. login: "sebres"
  3. mimetype: "text/plain"
  4. username: "sebres"