There was an error while loading. Please reload this page.
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