On 4/2/2010, "Mark Bacas" <[email protected]> wrote: >"The "_" character is particular" >A different character like # or ! wouldn't be as good or work as well? >Something special about the _ causing the entries to be added to the >.pageindex?
Only a "word" character as defined by the programming language. In our case letters a-z, digits 0-9 and underscores "_" are considered parts of a word, every other character will split the page text into different "words". >The tags don't have to be listed in a certain order when creating them? No, and they could be anywhere in the page, not only in a PTV. However it may appear not intuitive to search word1 "or" word2 : (:pagelist _tag1 _tag2:) will find pages with BOTH tags To list pages containing either _todo or _someday you need 2 pagelists, and if a page contains both tags, it will appear in both pagelists. >Is there an easy way to add the _ to my existing tags? No. Hopefully you and the users of your recipe don't have too many pages yet. :-) Petko >On Fri, Apr 2, 2010 at 4:25 AM, Petko Yotov <[email protected]> wrote: >> On Friday 02 April 2010 03:55:47, Mark Bacas wrote : >>> I'm thinking I need to enter all tags with something like a preceding >>> # or something. >>> >>> Any opinions on this? Is # a bad idea? Is just having a preceding >>> character good enough? I believe it should be. >>> >>> Then I could have something like $:tags=*#weekly* and >>> $:tags=*#biweekly* and the *#weekly* shouldn't pick up the #biweekly >>> tag. >> >> Hi. You can use the underscore character like this: _weekly _biweekly >> _critical _done _home _computer. Then, use either your PTV search, or even >> just plaintext search : >> >> !! Stuff that I could do now >> (:pagelist _home -_done -_waitingfor:) >> >> See also the second half of this page: >> >> http://www.pmichaud.com/pipermail/pmwiki-users/2009-December/056314.html >> >> Petko >> _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
