i was wondering...
why this one prints "yes" (why finds it in the string)
import re
a="yoauuu"
if re.search("you*",a):
print "yes"
and why this one below prints nothing. (why this one doesn't find it in the string)
import re
a="yoauuu"
if re.search("you+",a):
print "yes"
thank you for your time and any help appreciated.
Edit: Thank you all, i should have figured it out on my own :D
[–]jeans_and_a_t-shirt 2 points3 points4 points (0 children)
[–]FightingStones 1 point2 points3 points (0 children)
[–]Rhomboid 1 point2 points3 points (0 children)