const tagBody = '(?:[^"\'>]|"[^"]*"|\'[^\']*\')*' ; export default { tagBody , tagOrComment : new RegExp ( '<(?:' + '!--(?:(?:-*[^->])*--+|-?)' + '|script\\b' + tagBody + '>[\\s\\S]*?</script\\s*' + '|style\\b' + tagBody + '>[\\s\\S]*?</style\\s*' + '|/?[a-z]' + tagBody + ')>' , 'gi' ) , } ;