We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 25aa11c + 58065f8 commit 4366089Copy full SHA for 4366089
src/router/url/url-matcher.js
@@ -209,7 +209,7 @@ export class UrlMatcher {
209
const placeholder =
210
/([:*])([\w[\]]+)|\{([\w[\]]+)(?::\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g;
211
const searchPlaceholder =
212
- /([:]?)([\w[\].-]+)|\{([\w[\].-]+)(?::\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g;
+ /([:]?)([\w[\].-]+)|\{([\w[\].-]+)(?::\s*((?:[^{\\}]+|\\.|{(?:[^{\\}]+|\\.)*})+))?\}/g;
213
const patterns = [];
214
let last = 0;
215
let matchArray;
0 commit comments