I tried this code:
x = re.search("f?e?males?\b", "russian male")
if (x):
print("YES! We have a match!")
else:
print("No match")
BUT it is printing "No match".
Im testing to apply it to a data frame. If the string has "male" in it, it has to return another value.
But, regex is not working. Do you know why? I dont want to put only "male" because I want to also match female, females, males, etc.