Skip to content

Commit d61d8bf

Browse files
author
Alessandro Manias
committed
Fixed some copy an paste mistakes
1 parent 9fdcc26 commit d61d8bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util/named-group-regexp.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const pattern = [
1414
'[>\']',
1515
// Get everything up to the end of the capture group: this is the RegExp used
1616
// when matching URLs to this route, which we can use for validation purposes.
17-
'([^\\)]*(\))?)\??)',
17+
'([^\\)]*(\\))?)\\??',
1818
// Capture group end
1919
'\\)',
2020
].join( '' );

0 commit comments

Comments
 (0)