straddslashtoregexcodes
заменить в строке '.' на '\.' , '[' на '\[', '(' на '\(' и т.д. для точного сравнения.
Вызов:
string straddslashtoregexcodes(string source);
Created with the Personal Edition of HelpNDoc: Effortlessly upgrade your WinHelp HLP help files to CHM with HelpNDoc