allow matches which do not end with slash