Boost in LyX

Yuriy Skalko yuriy.skalko at gmail.com
Wed Nov 25 21:48:18 UTC 2020


>> 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



More information about the lyx-devel mailing list