]> git.lyx.org Git - lyx.git/blobdiff - src/tests/check_ListingsCaption.cpp
ar.po and layouttranslations: updates from hatim
[lyx.git] / src / tests / check_ListingsCaption.cpp
index 2df43e8cdc475678bc726e5d39bab9b8f3c331c7..874e3d67b8754399196beb815fc7a90dbe2bb636 100644 (file)
@@ -23,7 +23,7 @@ string test_ListingsCaption(string const & cap)
        //
        // NOTE that } is not allowed in blah2.
        regex const reg("(.*)\\\\label\\{(.*?)\\}(.*)");
-       string const new_cap("\\1\\3},label={\\2");
+       string const new_cap("$1$3},label={$2");
        return regex_replace(cap, reg, new_cap);
 }