Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/util/named-group-regexp.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const pattern = [
'[>\']',
// Get everything up to the end of the capture group: this is the RegExp used
// when matching URLs to this route, which we can use for validation purposes.
'([^\\)]*)',
'([^\\)]*(\\))?)\\??',
// Capture group end
'\\)',
].join( '' );
Expand Down