2012-08-29, 16:06
if you can have len(match) to see how many have been returned
cause its still part of re.
can you have len(search) cause it just comes back with errors?
if i have this
cause its still part of re.
can you have len(search) cause it just comes back with errors?
if i have this
Code:
import re
link = 'English germ enGlish'
eng=''
if re.search('English', link, re.IGNORECASE):
eng=' English,'
if not re.search('English', link, re.IGNORECASE):
eng= ''