aboutsummaryrefslogtreecommitdiff
path: root/doc/recentchanges/change_9b01c9779ef682af0874efc062d9fb2e91676c23._change
blob: db8fdff3e47eb4e69b5f56f2d1eff116f4e7e407 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[[!meta author="""http://smcv.pseudorandom.co.uk/"""]]

[[!meta authorurl="""http://smcv.pseudorandom.co.uk/"""]]

[[!meta title="""change to forum/Need_something_more_powerful_than_Exclude/comment_2_0019cd6b34c8d8678b2532de57a92d15 on ikiwiki"""]]

[[!meta permalink="http://ikiwiki.info/recentchanges/#change-9b01c9779ef682af0874efc062d9fb2e91676c23"]]

<div id="change-9b01c9779ef682af0874efc062d9fb2e91676c23" class="metadata">
<span class="desc"><br />Changed pages:</span>
<span class="pagelinks">

<a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/forum/Need_something_more_powerful_than_Exclude/comment_2_0019cd6b34c8d8678b2532de57a92d15._comment;h=7842caeac04f2e150792cc51e17f414ad40c3df5;hp=0000000000000000000000000000000000000000;hb=9b01c9779ef682af0874efc062d9fb2e91676c23;hpb=efba19b3379b0b4e4199ece869c71f80be3a82d1" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=forum%2FNeed_something_more_powerful_than_Exclude%2Fcomment_2_0019cd6b34c8d8678b2532de57a92d15&amp;do=goto" rel="nofollow">forum/Need something more powerful than Exclude/comment 2 0019cd6b34c8d8678b2532de57a92d15</a>


</span>
<span class="desc"><br />Changed by:</span>
<span class="committer">

<a href="http://smcv.pseudorandom.co.uk/" rel="nofollow">smcv</a>

</span>
<span class="desc"><br />Commit type:</span>
<span class="committype">web</span>
<span class="desc"><br />Date:</span>
<span class="changedate"><span class="relativedate" title="Tue, 23 Nov 2010 10:43:21 +0000">10:43:21 11/23/10</span></span>
<span class="desc"><br /></span>
</div>

<span class="revert">
<a href="http://ikiwiki.info/ikiwiki.cgi?rev=9b01c9779ef682af0874efc062d9fb2e91676c23&amp;do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
</span>

<div class="changelog">


Added a comment: expression anchored too closely?<br />


</div>

<div class="diff">
<pre>
diff --git a/doc/forum/Need_something_more_powerful_than_Exclude/comment_2_0019cd6b34c8d8678b2532de57a92d15._comment b/doc/forum/Need_something_more_powerful_than_Exclude/comment_2_0019cd6b34c8d8678b2532de57a92d15._comment
new file mode 100644
index 0000000..7842cae
--- /dev/null
+++ b/doc/forum/Need_something_more_powerful_than_Exclude/comment_2_0019cd6b34c8d8678b2532de57a92d15._comment
@@ -0,0 +1,12 @@
+&#91;&#91;!comment format=mdwn
+ username=&quot;http://smcv.pseudorandom.co.uk/&quot;
+ nickname=&quot;smcv&quot;
+ subject=&quot;expression anchored too closely?&quot;
+ date=&quot;2010-11-23T10:43:21Z&quot;
+ content=&quot;&quot;&quot;
+It looks as though you might only be excluding a top-level Makefile, and not a Makefile in subdirectories. Try excluding `(^|/)Makefile$` instead, for instance? (See `wiki_file_prune_regexps` in `IkiWiki.pm` for hints.)
+
+The match operation in `&amp;file_pruned` ends up a bit like this:
+
+    \&quot;foo/Makefile\&quot; =~ m{&hellip;|&hellip;|&hellip;|(^|/)Makefile$}
+&quot;&quot;&quot;&#93;&#93;

</pre>
</div>

<!-- 9b01c9779ef682af0874efc062d9fb2e91676c23 -->