package languages import ( "regexp" "strconv" "strings" "github.com/zzet/gortex/internal/parser" ) var ( markupScriptRe = regexp.MustCompile(`(?is)]*)>(.*?)`) markupLangAttrRe = regexp.MustCompile(`(?i)\blang\s*=\s*["']([a-z]+)["']`) ) // scriptTagIsTypeScript reports whether a