summaryrefslogtreecommitdiff
path: root/progs/unparsable_programs/a947.py
blob: 9ef0cf128644a7c073df79de87c484272eb80a1b (plain)
1
2
3
4
import re
def find_adverbs(text):
  for m in re.finditer(r"\w+ly", text):
    return ('%d-%d: %s' % (m.start(), m.end(), m.group(0)))