Skip to main content
2 events
when toggle format what by license comment
Aug 31, 2012 at 9:54 comment added Bakuriu I'd avoid comparing None using the == operator. Either use if re.search(exp, str): or if re.search(exp, str) is None:.
Aug 31, 2012 at 9:06 history answered Glenn Rogers CC BY-SA 3.0