diff --git a/.gitignore b/.gitignore index 7b08988..65df56b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ out node_modules .vscode +.vscode-test test/**/temp \ No newline at end of file diff --git a/README.md b/README.md index 0db67cd..ba1eadf 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ If `true`, automatically add the default "TODO" marker. Default is `true`. ## Supported languages Java, Javascript, C#, C, C++, F#, Python, Ruby, Coffee Script, R, Haskell, Lua, Go, Perl, -Markdown, Css, Scss, Less, Latex, Typescript, Elixir, Shell Script, Twig, Visual Basic, Matlab. +Markdown, Css, Scss, Less, Latex, Typescript, Elixir, Shell Script, Twig, Visual Basic, Matlab, HTML. *Note that multi-line comment style is only supported in languages that have the syntax in the example.* diff --git a/src/const/RegexStrings.ts b/src/const/RegexStrings.ts index 929c671..ca3d08d 100644 --- a/src/const/RegexStrings.ts +++ b/src/const/RegexStrings.ts @@ -6,4 +6,5 @@ export const RG_FSHARP = "\\(\\*([\\s\\S]*?)\\*\\)|//([^\\r\\n]+)"; export const RG_CSS = "/\\*([^*]*\\*+(?:[^/*][^*]*\\*+)*)/"; export const RG_LATEX = "%\\s*(.+)"; export const RG_VB = "(?:'|REM)\s*([^\\r\\n]+)"; -export const RG_TWIG = "{#([\\s\\S]*?)#}"; \ No newline at end of file +export const RG_TWIG = "{#([\\s\\S]*?)#}"; +export const RG_XML = " + \ No newline at end of file