Am Mon, 4 Jan 2021 15:47:59 +0200 schrieb Yuriy Skalko <yuriy.ska...@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
diff --git a/lib/doc/ru/Additional.lyx b/lib/doc/ru/Additional.lyx index 25ab01e0fc..2a226873ce 100644 --- a/lib/doc/ru/Additional.lyx +++ b/lib/doc/ru/Additional.lyx @@ -19066,11 +19066,11 @@ status open \end_layout \begin_layout Standard \begin_inset CommandInset include LatexCommand input -filename "C:/Program Files (x86)/LyX 2.3/Resources/doc/SpecialParagraphShape.tex" +filename "../SpecialParagraphShape.tex" literal "true" \end_inset
pgpYERfLUwoeI.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel