Removed matching of trailing slash