Skip to content

Commit

Permalink
Reorder route placeholders so alphanum has precendence over alpha. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnieezell committed May 19, 2017
1 parent 0f491ba commit 0d3d643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Router/RouteCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ class RouteCollection implements RouteCollectionInterface
protected $placeholders = [
'any' => '.*',
'segment' => '[^/]+',
'alphanum' => '[a-zA-Z0-9]+',
'num' => '[0-9]+',
'alpha' => '[a-zA-Z]+',
'alphanum' => '[a-zA-Z0-9]+',
'hash' => '[^/]+',
];

Expand Down

0 comments on commit 0d3d643

Please sign in to comment.