Skip to content

Commit

Permalink
Fixed some copy an paste mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Manias committed Feb 16, 2021
1 parent 9fdcc26 commit d61d8bf
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit d61d8bf

Please sign in to comment.