Regular expression for matching HTML empty conditional comments
Installation
Quick Take
API — emptyCondCommentRegex()
The main function emptyCondCommentRegex() is imported like this:
It’s a function which returns a RegExp object, /.../g, which you can use everywhere, for example, in RegExp.prototype.exec() or String.prototype.match().
regex-empty-conditional-comments3.0.3
Regular expression for matching HTML empty conditional comments
Installation
Quick Take
API —
emptyCondCommentRegex()
The main function
emptyCondCommentRegex()
is imported like this:It’s a function which returns a RegExp object,
/.../g
, which you can use everywhere, for example, inRegExp.prototype.exec()
orString.prototype.match()
.API —
version
You can import
version
:Changelog
Open Changelog