[LyX/master] Fix use of std::regex_match

Thibaut Cuvelier tcuvelier at lyx.org
Sun Jul 19 19:40:33 UTC 2020


Hi Jean-Marc,

Thanks for noticing, I've amended this commit! (Did I do this correctly?)



On Sun, 19 Jul 2020 at 21:23, Jean-Marc Lasgouttes <lasgouttes at lyx.org>
wrote:

> Le 19/07/2020 à 19:09, Thibaut Cuvelier a écrit :
> > commit 467d57bca1d07856bb48e245d9a148ca1c72922e
> > Author: Thibaut Cuvelier <cuvelier.thibaut at gmail.com>
> > Date:   Thu Jul 9 02:38:07 2020 +0200
> >
> >      Fix use of std::regex_match
> > ---
> >   src/insets/InsetBibtex.cpp |   23 +++++++++++------------
> >   1 files changed, 11 insertions(+), 12 deletions(-)
> >
> > -                     std::regex_match(tag, match, tagRegex);
> > +                     regex_match(tag, match, tagRegex);
> >
> > -                     if (toDocBookTag.find(match[1]) ==
> toDocBookTag.end()) {
> > +                     if (regex_match(tag, match, tagRegex)) {
>
> Hi Thibaut,
>
> Now I see two calls to regex_match(). That looks like cut and paste
> mistake.
>
> JMarc
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200719/13f04c1a/attachment.html>


More information about the lyx-devel mailing list