We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4a23a9 + d61d8bf commit 2cfe3ecCopy full SHA for 2cfe3ec
lib/util/named-group-regexp.js
@@ -14,7 +14,7 @@ const pattern = [
14
'[>\']',
15
// Get everything up to the end of the capture group: this is the RegExp used
16
// when matching URLs to this route, which we can use for validation purposes.
17
- '([^\\)]*)',
+ '([^\\)]*(\\))?)\\??',
18
// Capture group end
19
'\\)',
20
].join( '' );
0 commit comments