diff --git a/src/Routes/Route.php b/src/Routes/Route.php index abefba4..f3de5c2 100755 --- a/src/Routes/Route.php +++ b/src/Routes/Route.php @@ -195,7 +195,7 @@ class Route { } } $this->_regex = ltrim($this->_regex, '\/'); - $this->_regex = "/\/" . $this->_regex . "$/"; + $this->_regex = "/^\/" . $this->_regex . "$/"; } function createIndexes() {