G
Guest
I need to replace the ascII strings in VC++ source code with unicode
compatiable strings. That is I want to replace "abc" with _T("abc") excluding
the strings in #include line or already in _T("..").
I have regular expression
1. {[^_T\(]"([^"\\]*(\\.[^"\\]*)*)"} // get strings without '_T(' prefix
2. {[^include ]"([^"\\]*(\\.[^"\\]*)*)"} //get strings without 'include '
prefix.
how can I get the intersection of these two sets so matched strings can be
replace by '_T(\1)'?
compatiable strings. That is I want to replace "abc" with _T("abc") excluding
the strings in #include line or already in _T("..").
I have regular expression
1. {[^_T\(]"([^"\\]*(\\.[^"\\]*)*)"} // get strings without '_T(' prefix
2. {[^include ]"([^"\\]*(\\.[^"\\]*)*)"} //get strings without 'include '
prefix.
how can I get the intersection of these two sets so matched strings can be
replace by '_T(\1)'?