summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2007-12-17 13:53:51 -0500
committerJoey Hess <joey@kitenet.net>2007-12-17 13:53:51 -0500
commitdd0b844477fd11ed2e9956c15b4a2b2e30e6586b (patch)
treebf20a07c957c0791a15a4c3e4d56e4fe01cde3cf
parentc10f1a3f4c877d583b80d278259f768ab60fd421 (diff)
further improve the .. regexp
-rw-r--r--IkiWiki.pm2
-rw-r--r--po/ikiwiki.pot2
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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"