`#<(?:/?($tagRegex))>#` ? Or is there a possibility for a `</>` (which seems to be the case with this regex, unless i'm misreading it)