Hi,
I have a regular expression for matching URIs:
eg: preg_match("/^my\/uri\//i", "my/uri/whatever");
which I use for routing: eg: "http://www.mywebsite.com/my/uri/page.html" will match the above (with the protocol/host removed of course)
now I was wondering if there was any way to evaluate the regular expression into the most general URI that will match:
eg: "my/uri/"
Thanks