added regular expression matching from URI to handler