summaryrefslogtreecommitdiff
path: root/pkgs/muttprint/regex.patch
blob: e99c4a2c5b29126b92f934391e653fa1563e8cce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/muttprint	2015-07-21 11:18:04.219578426 +1200
+++ b/muttprint	2015-07-21 11:18:53.906243779 +1200
@@ -1635,7 +1635,7 @@
 	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$!";