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.
2 parents 750817e + e570047 commit e2a618fCopy full SHA for e2a618f
src/Pecee/SimpleRouter/RouterRoute.php
@@ -6,7 +6,7 @@
6
7
class RouterRoute extends RouterEntry {
8
9
- const PARAMETERS_REGEX_MATCH = '{([A-Za-z\-\_]*?)}';
+ const PARAMETERS_REGEX_MATCH = '{([A-Za-z\-\_]*?\?{0,1})}';
10
11
protected $url;
12
0 commit comments