Am Mon, 4 Jan 2021 12:23:47 +0200 schrieb Yuriy Skalko <yuriy.ska...@gmail.com>:
> >> Further investigating shows the error in my own code (out of range access). > >> The following exception was catched in the try {} section in findAdv(), so > >> the only > >> message was: "Invalid regular expression!". This was misleading. > > > > > > Indeed that's not very helpful. Ideally it would say *why* it is not valid. > > Maybe append additional exception message to that generic "Invalid..." > message as in attached patch? > > > Yuriy Thanks, you are right. But since the exception may not be only from regex, 'ex.what()' alone feels better. Please commit. Kornel
pgp1MkV000DC5.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel