I am making a regular expression to find all the words in a sentence. I have the following:
import re
emoji_pattern = re.compile('[A-Za-z]+')
print(emoji_pattern.search("jajaja que haces?"))
But when I run it, it gives me
<_sre.SRE_Match object; span=(0, 6), match='jajaja'>
that just says the word jajaja
.
She is the only one who finds, but nevertheless she should give all the words.