Comparing version 2.1.0 to 2.1.1
@@ -37,4 +37,4 @@ 'use strict'; | ||
return opts.exact ? new RegExp('(?:^' + regex + '$)') : | ||
return opts.exact ? new RegExp('(?:^' + regex + '$)', 'i') : | ||
new RegExp('(?:^|\\s)(["\'])?' + regex + '\\1', 'ig'); | ||
}; |
{ | ||
"name": "url-regex", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Regular expression for matching URLs", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
9418