summaryrefslogtreecommitdiff
path: root/progs/unparsable_programs/a803.py
blob: e0ddfe1122c3c8a7f492047fbdcfb3719e1696bd (plain)
1
2
3
4
import re
def find_adverb_position(text):
 for m in re.finditer(r"\w+ly", text):
    return (m.start(), m.end(), m.group(0))