phphatesme/LiveTest — Issue #132: Uri::isVaild regex error in PATH-part
Author: mischka
Created: 2012-01-30 09:23:00+00:00
State: open

if you want to use "-" in your uri's like "/foo-and-bar/", an exception is thown. The reason is that the "-" is not escaped in the regex.

to fix this change
```php
$urlregex .= "(\/([a-z0-9+\$_-~]\.?)+)*\/?";
```
to
```php
$urlregex .= "(\/([a-z0-9\+\$_\-~]\.?)+)*\/?";
```