patternmatching
The code sample below does not display well, yet as the tabs before the print statements are not expanded to spaces - yet.
if "abcdefgh23;ijklmn" ^ AnyOfP (string.letters) [4]:
print ("found four letters")
else:
print ("didn't find four letters")