| changeset 984 | be2d568644f6 |
| parent 753 | 30ea6b01db46 |
--- 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))