On Tue, Sep 10, 2013 at 12:40 PM, Roman Solodukhin <xrob...@gmail.com> wrote:
Why search do not work in fields?
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
<filterString> ::= "[" <filter-list> "]"
<filter-list> ::= <filter> | <filter> <filter>
<filter> ::= <filter-operator><filter-argument>
<filter-operator> ::= <filter-operator-prefix>";"<filter-operator-name>":"<filter-operator-suffix>
<filter-operator-prefix> ::= a prefix | ""
<filter-operator-name> ::= "is" | "has" | "each" | "field" ... (see complete list by looking in $:/core/modules/filters/ on the internals tab of the Control Panel)
<filter-operator-suffix> ::= a suffix | ""
<filter-argument> ::= "["<search-string>"]" | "{"<indirect-search-string>"}" | <regex>
<regex> ::= "/"<regex-string>"/" | "/"<regex-string>"/""("<regex-args>")"
<regex-string> ::= a javascript regular expression
<regex-args> ::= [mygi] (for global, case insensitive, etc.)
* Note that the parser was simplified by treating regex "/" as a "bracket" of sorts, meaning there could only be a start and end bracket. Thus the regex arguments, like i, are included in parenthesis immediately following the trailing "/".
* Note also that I haven't quite figured out what the "indirect search string" does, nor what uses operator-prefixes have. :)
<$list filter="[field:fieldName[searchString]"></$list>
<$list filter="[field:fieldName/caseInsensitiveSearchString/(i)"></$list><$list filter={{!!searchbox}}>
</$list>
[field:abcde/fghij/(i)]Just want to clarify. Is a search in fields implemented already? Seems "no" to me :/