It turns out that regexp does what I what !!! Starts with x (<$count filter="[!is[system]regexp[(?i)^x]]"/> Matches) <$list filter="[!is[system]regexp[(?i)^x]]"/>
!!! Ends with x (<$count filter="[!is[system]regexp[(?i)x$]]"/> Matches) <$list filter="[!is[system]regexp[(?i)x$]]"/> !!! Contains x (<$count filter="[!is[system]regexp[(?i)x]]"/> Matches) <$list filter="[!is[system]regexp[(?i)x]]"/> !!! Contains x but does not start or end with x. (<$count filter="[!is[system]regexp[(?i)x]] -[regexp[(?i)^x]] -[regexp[(?i)x$]]"/> Matches) <$list filter="[!is[system]regexp[(?i)x]] -[regexp[(?i)^x]] -[regexp[(?i)x$]]"/> Steve Wharton On Wednesday, November 26, 2014 12:36:51 PM UTC-5, steve wrote: > > Hello again: > > I'm looking for a simple list filter to search for tiddlers whose title > matches a search string anywhere in the title. I can find titles that have > xyz as a suffix or prefix with: > > <$list filter="[!is[system]prefix[xyz]]"/> > <$list filter="[!is[system]suffix[xyz]]"/> > > Is there something like a "contains" operator, for example: > <$list filter="[!is[system]contains[xyz]]"/> > > > If I wanted to exclude prefix or suffix matches something like > <$list filter="[!is[system]contains[string]] -[prefix[string]] > -[suffix[string]]"/> > > The reason that I am hoping to find a simple list filter is so I can use > $count to return the number of matches. > > The SearchBox at http://tesis.tiddlyspot.com/ matches the string anywhere > in a title but I haven't been able to figure out how/where to insert the > $count function. > > Steve Wharton > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.