regex-empty-conditional-comments
Version:
Regular expression for matching HTML empty conditional comments
11 lines (9 loc) • 404 B
JavaScript
/**
* @name regex-empty-conditional-comments
* @fileoverview Regular expression for matching HTML empty conditional comments
* @version 3.0.9
* @author Roy Revelt, Codsen Ltd
* @license MIT
* {@link https://codsen.com/os/regex-empty-conditional-comments/}
*/
var e="3.0.9";var o=e;function r(){return/<!(--)?\[if[^\]]*]>[<>!-\s]*<!\[endif\]\1>/gi}export{r as emptyCondCommentRegex,o as version};