quoted-string-regex
Advanced tools
Comparing version 0.1.1 to 1.0.0
/*! | ||
* quoted-string-regex <https://github.com/jonschlinkert/quoted-string-regex> | ||
* quoted-string-regex <https://github.com/regexps/quoted-string-regex> | ||
* | ||
* Copyright (c) 2015, Jon Schlinkert. | ||
* Licensed under the MIT License. | ||
* Copyright (c) 2015-2018, Jon Schlinkert. | ||
* Released under the MIT License. | ||
*/ | ||
@@ -11,3 +11,3 @@ | ||
module.exports = function() { | ||
return /'([^'\\]*\\.)*[^']*'|"([^"\\]*\\.)*[^"]*"/g; | ||
return /(?:\\['"`].)*?(['"`])((?:\\\1|.)*?)(\1)/g; | ||
}; |
{ | ||
"name": "quoted-string-regex", | ||
"description": "JavaScript regular expression for matching a quoted string.", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"homepage": "https://github.com/regexps/quoted-string-regex", | ||
@@ -15,2 +15,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
], | ||
"main": "index.js", | ||
"engines": { | ||
@@ -23,3 +24,4 @@ "node": ">=0.10.0" | ||
"devDependencies": { | ||
"mocha": "*" | ||
"gulp-format-md": "^1.0.0", | ||
"mocha": "^3.5.3" | ||
}, | ||
@@ -32,9 +34,21 @@ "keywords": [ | ||
"verb": { | ||
"toc": false, | ||
"layout": "default", | ||
"tasks": [ | ||
"readme" | ||
], | ||
"plugins": [ | ||
"gulp-format-md" | ||
], | ||
"related": { | ||
"list": [ | ||
"todo-regex", | ||
"copyright-regex" | ||
"es6-template-regex", | ||
"year-range-regex", | ||
"to-regex-range" | ||
] | ||
}, | ||
"lint": { | ||
"reflinks": true | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6236
0
90
2