path-to-regexp
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -10,3 +10,3 @@ /** | ||
*/ | ||
var MATCHING_GROUP_REGEXP = /\((?!\?)/g; | ||
var MATCHING_GROUP_REGEXP = /\((?:\?<(.*?)>)?(?!\?)/g; | ||
@@ -44,3 +44,3 @@ /** | ||
keys.push({ | ||
name: name++, | ||
name: m[1] || name++, | ||
optional: false, | ||
@@ -47,0 +47,0 @@ offset: m.index |
{ | ||
"name": "path-to-regexp", | ||
"description": "Express style path to RegExp utility", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"files": [ | ||
@@ -6,0 +6,0 @@ "index.js", |
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
6109
4