See, this is kinda what I mean. Maybe you can detect tags with regex, but maybe you shouldn't, given the widespread but subtle differences in regex engines.
Perhaps the entire approach of "why are you trying to parse X?" Needs to be traced and re-evaluated.
Perhaps the entire approach of "why are you trying to parse X?" Needs to be traced and re-evaluated.