//vp = "(?:\\w|\\d)+"; // single word with letters and digits , for example utf8mb4 and latin1
{
stringvp0="(?:\\w|\\d)+";// single word with letters and digits , for example utf8mb4 and latin1
//var_patterns.push_back(vp);
vp="(?:\\w|\\d)+(?:-|\\w|\\d+)*";// multiple words (letters and digits) separated by dash, WITHOUT any spaces between words . Used ialso for transaction isolation
stringvp1="(?:"+vp0+"(?:,"+vp0+")*)";// multiple words (letters and digits) separated by commas WITHOUT any spaces between words . Used also for sql_mode , example: ONLY_FULL_GROUP_BY,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO
//var_patterns.push_back(vp1); // do NOT add without quote
stringvp2="(?:"+vp0+"(?:-"+vp0+")*)";// multiple words (letters and digits) separated by dash, WITHOUT any spaces between words . Used also for transaction isolation
//vp = "(?:\\w|\\d)+(?:-|\\w|\\d+)*"; // multiple words (letters and digits) separated by dash, WITHOUT any spaces between words . Used ialso for transaction isolation
//var_patterns.push_back(vp);
// for (auto it = quote_symbol.begin(); it != quote_symbol.end(); it++) {
// string s = *it + vp + *it;
// var_patterns.push_back(s); // add with quote
// }
vp="\\w+(?:,\\w+)+";// multiple words separated by commas, WITHOUT any spaces between words
// NOTE: we do not use multiple words without quotes