]> git.lyx.org Git - lyx.git/commit
Fix issue with regular expressions
authorEnrico Forestieri <forenr@lyx.org>
Sun, 15 Oct 2017 13:29:33 +0000 (15:29 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 15 Oct 2017 13:42:39 +0000 (15:42 +0200)
commit2e253eab0fe4cd318d153ace513829be93a97800
tree6de4f2715b084396fd81607175df9e1fc69febfa
parentf2f12cc7c7a278315a7fe5629e071030495f57ca
Fix issue with regular expressions

At least with gcc 6.4, if the first parameter passed to
regex_match() is afterward changed, the second one gets
corrupted. This is avoided by using a temporary string.

(cherry picked from commit c16ccdb5fd25a14c096ef9dfa68975c77377bf41)
src/BiblioInfo.cpp