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_2_0019cd6b34c8d8678b2532de57a92d15 on ikiwiki"""]]
7 [[!meta permalink="http://ikiwiki.info/recentchanges/#change-9b01c9779ef682af0874efc062d9fb2e91676c23"]]
9 <div id="change-9b01c9779ef682af0874efc062d9fb2e91676c23" 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_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&do=goto" rel="nofollow">forum/Need something more powerful than Exclude/comment 2 0019cd6b34c8d8678b2532de57a92d15</a>
17 <span class="desc"><br />Changed by:</span>
18 <span class="committer">
20 <a href="http://smcv.pseudorandom.co.uk/" rel="nofollow">smcv</a>
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:21 +0000">10:43:21 11/23/10</span></span>
27 <span class="desc"><br /></span>
31 <a href="http://ikiwiki.info/ikiwiki.cgi?rev=9b01c9779ef682af0874efc062d9fb2e91676c23&do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
34 <div class="changelog">
37 Added a comment: expression anchored too closely?<br />
44 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
46 index 0000000..7842cae
48 +++ b/doc/forum/Need_something_more_powerful_than_Exclude/comment_2_0019cd6b34c8d8678b2532de57a92d15._comment
50 +[[!comment format=mdwn
51 + username="http://smcv.pseudorandom.co.uk/"
52 + nickname="smcv"
53 + subject="expression anchored too closely?"
54 + date="2010-11-23T10:43:21Z"
55 + content="""
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.)
58 +The match operation in `&file_pruned` ends up a bit like this:
60 + \"foo/Makefile\" =~ m{…|…|…|(^|/)Makefile$}
61 +"""]]
66 <!-- 9b01c9779ef682af0874efc062d9fb2e91676c23 -->