From dd0b844477fd11ed2e9956c15b4a2b2e30e6586b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 17 Dec 2007 13:53:51 -0500 Subject: [PATCH] further improve the .. regexp --- IkiWiki.pm | 2 +- po/ikiwiki.pot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IkiWiki.pm b/IkiWiki.pm index a8703450c..b0ac8bbb4 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -32,7 +32,7 @@ memoize("file_pruned"); sub defaultconfig () { #{{{ return - wiki_file_prune_regexps => [qr/^\.\.$/, qr/^\./, qr/\/\./, + wiki_file_prune_regexps => [qr/(^|\/)\.\.(\/|$)/, qr/^\./, qr/\/\./, qr/\.x?html?$/, qr/\.ikiwiki-new$/, qr/(^|\/).svn\//, qr/.arch-ids\//, qr/{arch}\//, qr/(^|\/)_MTN\//, diff --git a/po/ikiwiki.pot b/po/ikiwiki.pot index e7f48d63e..65f32b22d 100644 --- a/po/ikiwiki.pot +++ b/po/ikiwiki.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-12-17 13:36-0500\n" +"POT-Creation-Date: 2007-12-17 13:53-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"