From: Enrico Forestieri Date: Wed, 29 Apr 2015 16:04:51 +0000 (+0200) Subject: Forgot to escape the dot X-Git-Tag: 2.2.0alpha1~943 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2a77dc5ec6de961a4fe7ed0815dcd695390c776b;p=features.git Forgot to escape the dot --- diff --git a/lib/scripts/lyxpreview2bitmap.py b/lib/scripts/lyxpreview2bitmap.py index aa37ed03e2..90deec813c 100755 --- a/lib/scripts/lyxpreview2bitmap.py +++ b/lib/scripts/lyxpreview2bitmap.py @@ -221,7 +221,7 @@ def find_ps_pages(dvi_file): dv2dt_status, dv2dt_output = run_command(dv2dt_call) psliteral_re = re.compile("^special[1-4] [0-9]+ '(\"|ps:)") hyperref_re = re.compile("^special[1-4] [0-9]+ 'ps:.*/DEST pdfmark") - pdffile_re = re.compile("^special[1-4] [0-9]+ 'PSfile=.*.(pdf|png|jpg|jpeg|PDF|PNG|JPG|JPEG)") + pdffile_re = re.compile("^special[1-4] [0-9]+ 'PSfile=.*\\.(pdf|png|jpg|jpeg|PDF|PNG|JPG|JPEG)") # Parse the dtl file looking for PostScript specials and pdflatex files. # Pages using PostScript specials or pdflatex files are recorded in