diff -r feb8a2a42625 -r 17acdd516ccd progs/catastrophic2.py --- a/progs/catastrophic2.py Wed Nov 22 18:27:59 2017 +0000 +++ b/progs/catastrophic2.py Wed Nov 29 08:47:22 2017 +0000 @@ -15,6 +15,7 @@ cn = sys.argv[1] # calling the matching function -m = re.match('(a*)*b' , "a" * int(cn)) +s = ("a" * int(cn)) +m = re.match('(a*)*b' , s) -print m.group(0) +print s