diff -r 32eead4cd30e -r c7e944977e39 progs/catastrophic/catastrophic2.py --- a/progs/catastrophic/catastrophic2.py Sun Sep 14 12:59:23 2025 +0100 +++ b/progs/catastrophic/catastrophic2.py Wed Sep 17 14:29:52 2025 +0100 @@ -16,7 +16,7 @@ # calling the matching function s = ("a" * int(cn)) -m = re.match('(a*)*b' , s) +m = re.fullmatch('(a*)*b' , s) print(s) -print(m) +print(bool(m))