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 ca83a9b commit de70919Copy full SHA for de70919
src/RouteFactory.php
@@ -92,7 +92,7 @@ private function parseUrl($url)
92
*/
93
private function parseArguments($url)
94
{
95
- preg_match_all('~{(n:|a:|an:|w:|\*:|\?:)?([a-zA-Z0-9]+)}~', $url, $matches);
+ preg_match_all('~{(n:|a:|an:|w:|\*:|\?:)?([a-zA-Z0-9_]+)}~', $url, $matches);
96
97
if (isset($matches[2]) && !empty($matches[2])) {
98
return $matches[2];
0 commit comments