Escribe una expresión regular que nos ayude a contar cuántas personas altas trabajan en tu empresa. Debes usar lookbehind positivo en RegEx.
lst = ["tall height", "tall height", "short height", "medium height", "tall height"]
pattern = "yourregularexpressionhere"
len(re.findall(pattern, ", ".join(lst))) ➞ 3import re del código.