replaced.append("?");
tokens.add(token_matcher.group().substring(1, token_matcher.group().length()));
replaced.append(sql.substring(token_matcher.end(), quote_matcher.start()));
last_token = token_matcher.find();
}
else if (token_matcher.start() > quote_matcher.end())
{
// token is after quote
replaced.append(sql.substring(quote_matcher.start(), token_matcher.start()));
last_quote = quote_matcher.find();
}