Skip to content

Instantly share code, notes, and snippets.

View michaelabon's full-sized avatar

Michael Abon (Mike Kenyon) michaelabon

View GitHub Profile
@michaelabon
michaelabon / Reg
Last active December 21, 2015 18:39 — forked from RandomOutput/Reg
res = re.findall('[a-zA-Z]{2,}\s*\+\+', testString)
if len(res) > 0:
for match in res:
pos_results.append(match.lower())
res = re.findall('\+\+\s*[a-zA-Z]{2,}', testString)
if len(res) > 0:
for match in res:
pos_results.append(match.lower())