【文件属性】:
文件名称:html-non-conditional-comment-regex:用于匹配非条件 HTML 注释的正则表达式
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-03 23:09:49
JavaScript
用于匹配非条件 HTML 注释的正则表达式
安装
$ npm install --save html-non-conditional-comment-regex
用法
var htmlNonConditionalCommentRegex = require ( 'html-non-conditional-comment-regex' ) ;
htmlNonConditionalCommentRegex . test ( '<!DOCTYPE html><!--\nnormal comment \n--><html lang="en"><head><meta charset="UTF-8"><title>Document</title></head><body></body></html>' ) ;
//=> true
htmlNonConditionalCommentRegex . te
【文件预览】:
html-non-conditional-comment-regex-master
----.travis.yml(72B)
----index.js(138B)
----.jscsrc(93B)
----test.js(1KB)
----package.json(978B)
----.gitignore(29B)
----README.md(1KB)
----.jshintrc(227B)
----.editorconfig(188B)
----.gitattributes(12B)