\begin{quote}
Regular expression for matching HTML comments \end{quote}
\hypertarget{md_sfcode_node_modules_html_comment_regex_README_autotoc_md11666}{}\doxysection{Install}\label{md_sfcode_node_modules_html_comment_regex_README_autotoc_md11666}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save html-\/comment-\/regex }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_html_comment_regex_README_autotoc_md11667}{}\doxysection{Usage}\label{md_sfcode_node_modules_html_comment_regex_README_autotoc_md11667}

\begin{DoxyCode}{0}
\DoxyCodeLine{var htmlCommentRegex = require('html-\/comment-\/regex');}
\DoxyCodeLine{}
\DoxyCodeLine{htmlCommentRegex.test('<!DOCTYPE html><!-\/-\/[if lt IE 7]>      <html class="{}no-\/js lt-\/ie9 lt-\/ie8 lt-\/ie7"{}> <![endif]-\/-\/><html lang="{}en"{}><head><meta charset="{}UTF-\/8"{}><title>Document</title></head><body></body></html>');}
\DoxyCodeLine{//=> true}
\DoxyCodeLine{}
\DoxyCodeLine{htmlCommentRegex.test('<!DOCTYPE html><html lang="{}en"{}><head><meta charset="{}UTF-\/8"{}><title>Document</title></head><body></body></html>');}
\DoxyCodeLine{//=> false }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_html_comment_regex_README_autotoc_md11668}{}\doxysection{License}\label{md_sfcode_node_modules_html_comment_regex_README_autotoc_md11668}
MIT © \href{https://github.com/stevemao}{\texttt{ Steve Mao}} 