+2004-10-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * ExternalTransforms.C (sanitizeLatexOption): simplify regex
+
2004-10-27 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* ExternalTransforms.C (sanitizeLatexOption): fix regex to handle
// 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\": "