Problem with standard regex

Kornel Benko kornel at lyx.org
Mon Jan 4 16:03:10 UTC 2021


Am Mon, 4 Jan 2021 15:47:59 +0200
schrieb Yuriy Skalko <yuriy.skalko at gmail.com>:

> > Thanks, you are right. But since the exception may not be only from regex, 
> > 'ex.what()'
> > alone feels better.
> > 
> > Please commit.
> > 
> >         Kornel  
> 
> Committed at e8099942c7.
> 
> 
> Yuriy

Thanks. I am not so sure that 'from_ascii()' is the better choice comparing to
'from_utf8()' though.

BTW, I tested the regexes with Russian documents, and found an error in Additional.lyx
Correction attached.

Is the regex handling (with enabled format) now to your liking?

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ru_Additional.lyx.patch
Type: text/x-patch
Size: 457 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210104/1134f5ae/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210104/1134f5ae/attachment.asc>


More information about the lyx-devel mailing list