Only allocate a StringBuffer if the start pattern has been found successfully in...