l_test_word = 'in €'
print(l_test_word)
if re.match(pattern=r'[£$€]+', string=l_test_word):
print("Match")
else:
print("No Match")
I am trying to match if a string contains curency symbols. The code snippet above when runs returning "No Match". Unable to figure out why? I am using python 2.7.13. Thanks.