Remove memoization from Matcher#prefix.