laravel/laravel — pull request #246 by ericbarnes (2012-01-19 13:51:22+00:00)
Title: Bug fix for route::handles

This fixes the following bug:

Route: /foo/bar
$this->assertFalse($route->handles('foo'));

That would return true because "foo" was part of the uri. So I added a \z which matches from the end of the string and it appears to be working. I ran all the unit tests and still got GREEN.