We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0aae4e commit 33c9ae5Copy full SHA for 33c9ae5
src/Parser/ParserFiles.php
@@ -77,6 +77,7 @@ public function parse()
77
$route = preg_replace('/([\'"][\n\s]*\.[\n\s]*\$(.*?)[\n\s]*\.[\n\s]*[\'"])/', '{$val}', $route);
78
$route = preg_replace('/([\'"][\n\s]*\.[\n\s]*\$(.*))[\'"]*/', '{$val}', $route);
79
$route = preg_replace('/([\'"])/', '', $route);
80
+ $route = preg_replace('/\?(.*)/', '', $route);
81
82
$url = ltrim($route, '/');
83
$url = trim(preg_replace('/\s+/', ' ', $url));
0 commit comments