File muttprint-fix-regex.patch of Package muttprint
Fixes:
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\\newlabel{ <-- HERE LastPage}{{}{(\d+)}}/ at /usr/bin/muttprint line 1636.
diff --git a/muttprint b/muttprint
index eee19b5..1215b4a 100644
--- a/muttprint
+++ b/muttprint
@@ -1633,7 +1633,7 @@ sub getNumberOfPages ($) {
open (AUX, "$auxfile") or fatalError "Could not open $auxfile:\n$!";
while (<AUX>) {
- ($numberOfPages) = /\\newlabel{LastPage}{{}{(\d+)}}/;
+ ($numberOfPages) = /\\newlabel\{LastPage}\{\{}\{(\d+)}}/;
}
close AUX or fatalError "Could not close $auxfile:\n$!";