highlight.js
Advanced tools
Comparing version 9.18.0 to 9.18.1
@@ -55,3 +55,3 @@ module.exports = function(hljs) { | ||
{ | ||
begin: '//[gim]*', | ||
begin: '//[gim]{0,3}(?=\\W)', | ||
relevance: 0 | ||
@@ -62,3 +62,3 @@ }, | ||
// regex can't start with *, and it supports an "illegal" in the main mode | ||
begin: /\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W)/ | ||
begin: /\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/ | ||
} | ||
@@ -65,0 +65,0 @@ ] |
@@ -9,3 +9,3 @@ { | ||
"homepage": "https://highlightjs.org/", | ||
"version": "9.18.0", | ||
"version": "9.18.1", | ||
"author": { | ||
@@ -12,0 +12,0 @@ "name": "Ivan Sagalaev", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1439529