diff options
author | http://smcv.pseudorandom.co.uk/ <smcv@web> | 2010-11-23 10:43:09 +0000 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-11-23 10:43:09 +0000 |
commit | efba19b3379b0b4e4199ece869c71f80be3a82d1 (patch) | |
tree | 53324f3b814b6883154f3bb2aa491a5d3ab9f4ad /doc | |
parent | 78a2e59834d35da7a7ab8145beb7a30b59b95c90 (diff) | |
download | ikiwiki-efba19b3379b0b4e4199ece869c71f80be3a82d1.tar ikiwiki-efba19b3379b0b4e4199ece869c71f80be3a82d1.tar.gz |
Added a comment: expression anchored too closely?
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/Need_something_more_powerful_than_Exclude/comment_1_b454ead16d90479690ad8ee72cfd1428._comment | 12 |
1 files changed, 12 insertions, 0 deletions
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 new file mode 100644 index 000000000..6e29f0c19 --- /dev/null +++ b/doc/forum/Need_something_more_powerful_than_Exclude/comment_1_b454ead16d90479690ad8ee72cfd1428._comment @@ -0,0 +1,12 @@ +[[!comment format=mdwn + username="http://smcv.pseudorandom.co.uk/" + nickname="smcv" + subject="expression anchored too closely?" + date="2010-11-23T10:43:08Z" + content=""" +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 `&file_pruned` ends up a bit like this: + + \"foo/Makefile\" =~ m{…||…|(^|/)Makefile$} +"""]] |