import re


def re_comment_match(comment_id, comment_body):
    """Returns a Match object, or None if no match was found"""
    return re.match(rf'{re.escape(comment_id)}\n```(?:hcl)?(.*?)```(.*)',
                    comment_body, re.DOTALL)