7 lines
107 B
Python
7 lines
107 B
Python
import re
|
|
|
|
|
|
def is_hmmmm(string):
|
|
pattern = r'^hm{2,}(\.{3,}|)$'
|
|
return re.search(pattern, string)
|