]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/recentchanges/change_efba19b3379b0b4e4199ece869c71f80be3a82d1._change
(no commit message)
[git.ikiwiki.info.git] / doc / recentchanges / change_efba19b3379b0b4e4199ece869c71f80be3a82d1._change
1 [[!meta author="""http://smcv.pseudorandom.co.uk/"""]]
3 [[!meta authorurl="""http://smcv.pseudorandom.co.uk/"""]]
5 [[!meta title="""change to forum/Need_something_more_powerful_than_Exclude/comment_1_b454ead16d90479690ad8ee72cfd1428 on ikiwiki"""]]
7 [[!meta permalink="http://ikiwiki.info/recentchanges/#change-efba19b3379b0b4e4199ece869c71f80be3a82d1"]]
9 <div id="change-efba19b3379b0b4e4199ece869c71f80be3a82d1" class="metadata">
10 <span class="desc"><br />Changed pages:</span>
11 <span class="pagelinks">
13 <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/forum/Need_something_more_powerful_than_Exclude/comment_1_b454ead16d90479690ad8ee72cfd1428._comment;h=6e29f0c19bf51ce19ca55d82ffbc0575392fe6fa;hp=0000000000000000000000000000000000000000;hb=efba19b3379b0b4e4199ece869c71f80be3a82d1;hpb=78a2e59834d35da7a7ab8145beb7a30b59b95c90" 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_1_b454ead16d90479690ad8ee72cfd1428&amp;do=goto" rel="nofollow">forum/Need something more powerful than Exclude/comment 1 b454ead16d90479690ad8ee72cfd1428</a>
16 </span>
17 <span class="desc"><br />Changed by:</span>
18 <span class="committer">
20 <a href="http://smcv.pseudorandom.co.uk/" rel="nofollow">smcv</a>
22 </span>
23 <span class="desc"><br />Commit type:</span>
24 <span class="committype">web</span>
25 <span class="desc"><br />Date:</span>
26 <span class="changedate"><span class="relativedate" title="Tue, 23 Nov 2010 10:43:09 +0000">10:43:09 11/23/10</span></span>
27 <span class="desc"><br /></span>
28 </div>
30 <span class="revert">
31 <a href="http://ikiwiki.info/ikiwiki.cgi?rev=efba19b3379b0b4e4199ece869c71f80be3a82d1&amp;do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
32 </span>
34 <div class="changelog">
37 Added a comment: expression anchored too closely?<br />
40 </div>
42 <div class="diff">
43 <pre>
44 diff --git a/doc/forum/Need_something_more_powerful_than_Exclude/comment_1_b454ead16d90479690ad8ee72cfd1428._comment b/doc/forum/Need_something_more_powerful_than_Exclude/comment_1_b454ead16d90479690ad8ee72cfd1428._comment
45 new file mode 100644
46 index 0000000..6e29f0c
47 --- /dev/null
48 +++ b/doc/forum/Need_something_more_powerful_than_Exclude/comment_1_b454ead16d90479690ad8ee72cfd1428._comment
49 @@ -0,0 +1,12 @@
50 +&#91;&#91;!comment format=mdwn
51 + username=&quot;http://smcv.pseudorandom.co.uk/&quot;
52 + nickname=&quot;smcv&quot;
53 + subject=&quot;expression anchored too closely?&quot;
54 + date=&quot;2010-11-23T10:43:08Z&quot;
55 + content=&quot;&quot;&quot;
56 +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.)
57 +
58 +The match operation in `&amp;file_pruned` ends up a bit like this:
59 +
60 +    \&quot;foo/Makefile\&quot; =~ m{&hellip;||&hellip;|(^|/)Makefile$}
61 +&quot;&quot;&quot;&#93;&#93;
63 </pre>
64 </div>
66 <!-- efba19b3379b0b4e4199ece869c71f80be3a82d1 -->