zjfz-2019-s439462/regexp/Task328.py
2020-01-23 12:38:31 +01:00

7 lines
104 B
Python

import re
def is_hmmmm(string):
search = re.search("^hm{2,}(\.{3,}|)$", string)
return search