On Saturday, August 15, 2015 at 12:32:44 AM UTC-7, John wrote:
>
> Filter search using search[{{}}] shows a tiddler about transclusion.
> But Filter search using regexp[{{[a-zA-Z0-9]*}}] does not yield the same
> result.
>
1) you need to search in the correct field
By default, search[{{}}] look in both the tiddler title and content. There
is one tiddler, [[Transclusion Basic Usage]] that contains the literal
"{{}}".
However, regexp[{{}}] defaults to only the title field, and there are no
tiddler *titles* that include the curly braces, thus no results.
To apply a regexp filter on the tiddler content, you need specify the
desired field by writing regexp:text[...]
2) The documentation in http://tiddlywiki.com/#regexp%20Operator says this:
> "The filter syntax makes it impossible to directly specify a regular
> expression that contains square brackets. The solution is to store the
> expression in a variable. See the examples."
Thus, to run the filter you want, you can't use the Advanced Search/Filter
tab. Instead, you need to write something like this into a tiddler:
<$set name="pattern" value="{{[a-zA-Z0-9]*}}">
<<list-links "[regexp:text<pattern>]">>
</$set>
Hope this helps,
enjoy,
-e
Eric Shulman
ELS Design Studios
TiddlyTools - "Small Tools for Big Ideas!"
InsideTiddlyWiki: The Missing Manuals
YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://TiddlyTools.github.com/fundraising.html#MakeADonation
Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/7dd1b5b2-bdd9-4a96-be6d-a6a782f4fece%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.