From a827355688c5f73f9bcb8411e21e94340276d2c0 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 29 Jul 2020 23:53:19 +0200 Subject: [PATCH] add . to parsing --- Uri/UriFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Uri/UriFactory.js b/Uri/UriFactory.js index 64b19be..24ed70a 100644 --- a/Uri/UriFactory.js +++ b/Uri/UriFactory.js @@ -189,7 +189,7 @@ export class UriFactory static build (uri, toMatch) { const current = HttpUri.parseUrl(window.location.href); - let parsed = uri.replace(new RegExp('\{[\/#\?%@\.\$][a-zA-Z0-9\-]*\}', 'g'), function (match) + let parsed = uri.replace(new RegExp('\{[\/#\?%@\.\$\!][a-zA-Z0-9\-\#\.]*\}', 'g'), function (match) { match = match.substr(1, match.length - 2);