]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTransforms.C
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / ExternalTransforms.C
index 0881679797873e27b17d9e6df617589225d0f9f2..3a6059a288c6f4b43327b217cabff08e4df83db7 100644 (file)
@@ -302,7 +302,7 @@ string const sanitizeLatexOption(string const & input)
 
        // Strip any trailing commas
        // "...foo,,,]" -> "...foo" ("...foo,,," may be empty)
-       static boost::regex const back("^(.*[^,])?(,*)([]] *)$");
+       static boost::regex const back("^(.*[^,])?,*[]] *$");
        regex_match(output, what, back);
        if (!what[0].matched) {
                lyxerr << "Unable to sanitize LaTeX \"Option\": "