discontinue matching on buffer if urilen returns a match failure.