Fix typo
This commit is contained in:
parent
3d68a0af86
commit
56cf56c6c5
|
|
@ -83,7 +83,7 @@ class TemplateRoute extends RegexRoute
|
|||
// Replace * with .* AFTER escaping to avoid escaping .*
|
||||
$pattern = str_replace("*", ".*", $pattern);
|
||||
|
||||
// Surroung the pattern with delimiters
|
||||
// Surround the pattern with delimiters.
|
||||
$pattern = "~^{$pattern}$~";
|
||||
|
||||
// Replace all template variables with matching subpatterns.
|
||||
|
|
|
|||
Loading…
Reference in New Issue