We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d12aade commit d72abbdCopy full SHA for d72abbd
1 file changed
LinkRouter/App/Configuration/Config.cs
@@ -55,10 +55,14 @@ public void CompileRoutes()
55
56
var escaped = Regex.Escape(route.Route);
57
58
- var pattern = new Regex(@"\\{(\d|\w+)\}");
+ Console.WriteLine(escaped);
59
+
60
+ var pattern = new Regex(@"\\\{(\d|\w+)\}");
61
62
var matches = pattern.Matches(escaped);
63
64
+ Console.WriteLine(matches.Count + " matches found.");
65
66
foreach (var match in matches.Select(x => x))
67
{
68
// Check if the placeholder is immediately followed by another placeholder
0 commit comments