changeset 985 | c7e944977e39 |
parent 753 | d94fdbef1a4f |
--- 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))