def METHOD_NAME(m):
    text = f"/{m.group(3)}"
    entity = MessageEntityTextUrl(
        offset=m.start(2), length=len(text), url=f"https://reddit.com{text}"
    )
    return m.group(1) + text, entity