I assume that careful replacement string to docstring will be mostly enough.

No, we need wstring. Regular expressions (wregex) work on wchar_t.


        Kornel

wchar_t can cause problems with portability (it is 4 bytes on Unix and 2 on Windows). So maybe defining docregex as basic_regex<char_type> (like docstring is basic_string<char_type>) will have less issues. Just some thoughts...

Yuriy

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to