Thanks for reply, Mark! You seem to want to look at something like "[[Foo]] Bar Baz" as a whole > string. I'm not sure how to even set that up experimentally, because TW > constantly wants to turn it into a title list, with each item viewed as a > title. >
I'd think all the cases where you're forced to use the enlist filter operator would mean that if you don't use it, then the arg is seen as one string. No? But, regardless, doesn't the regexp:field[] filter op always interpret any field content as one string because regexp:tags[oo ba] would show positive for the tags "foo bar". I.e AFAICT, the space character is just a character to regexp, not a separator. As far as a regular expression that just finds "Foo" (assuming a standard > title list) then regexp[^Foo$] should work. > If there is anything more in the field, such as is common the tags field, then that syntax would give a false negative. The actual use case for my question is the toggle-in-field <http://toggle-in-field.tiddlyspot.com/> plugin. I have thus far used regexp[\b$item$\b] like so <$list filter="[[$tiddler$]has[$field$]regexp:$field$[\b$item$\b]]"> This is actually pretty good but it gives a false positive in a TW context(!) where a title Foo must not be confused with a title [[Foo bar]]. There needs to be some condition that a prefixing [[ also requires a suffixing ]] but I'm not sure how to deal with bracket characters in a filter and if it is at all possible. Thanks for your input, Mark! <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/24830f6b-c302-426a-9d26-4b91b33a3288%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

