[tw5] Re: $list with filter stored in a variable with inside

2020-10-17 Thread Shareda
Hello, Mark S! Thank you for your attention to my question. The reason I 
have not included the entire text is because of its complexity. In 
particular, validate.search.regexp is a macro that uses another macro. And 
this whole tiddler doesn't work without it's transclusion through  the 
ViewTemplate. I can attach the export of all the necessary tiddlers, but it 
seemed to me that the right way to go by a more precise formulation of the 
question. 

Your answer inspired me with the idea that *I should apply $wikify not only 
to the final macro, but also to the nested one*. And voila! Everything 
works fine! Thank you for answering me, it really helped! 

воскресенье, 18 октября 2020 г. в 01:09:05 UTC+6, Mark S.: 

> You're showing us bits and pieces. In particular, you're not showing us 
> your regular expression.
>
> When I try this on TiddlyWiki.com :
>
> <$set name=validate.search.regexp value="\bmes.*\b">
> <$set name=full.filter value="[all[tiddlers]!is[system]has[caption]] 
> +[search:text:regexp]" >
>
> <$list filter=<>>
>
> 
>
> 
>
>
> it runs fine. So I think we need to know more about your regular 
> expression, and maybe sample data. Better yet would be a page somewhere we 
> could look at.
>
>
> On Saturday, October 17, 2020 at 3:24:03 AM UTC-7, Shareda wrote:
>>
>> Hello! 
>> I have  full.filter  variable  containing one or more +runs evaluated 
>> dynamically. The simplest value is like this:
>> [all[tiddlers]!is[system]has[cite_no]] 
>> +[search:text:regexp]
>>
>> <> gives a valid regexp that can contain sqare 
>> brackets, etc.
>>
>> I am trying to run 
>> <$list filter=<>>
>> search results representation
>> 
>>
>> Also I tried to add 
>> <$wikify name="full.filter" text=<>>
>> before the list widget. But still no correct results.
>>
>> What syntax should I use?
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7598d3a6-111e-47c0-8d0e-e89dbb653522n%40googlegroups.com.


[tw5] Re: $list with filter stored in a variable with inside

2020-10-17 Thread 'Mark S.' via TiddlyWiki
You're showing us bits and pieces. In particular, you're not showing us 
your regular expression.

When I try this on TiddlyWiki.com :

<$set name=validate.search.regexp value="\bmes.*\b">
<$set name=full.filter value="[all[tiddlers]!is[system]has[caption]] 
+[search:text:regexp]" >

<$list filter=<>>






it runs fine. So I think we need to know more about your regular 
expression, and maybe sample data. Better yet would be a page somewhere we 
could look at.


On Saturday, October 17, 2020 at 3:24:03 AM UTC-7, Shareda wrote:
>
> Hello! 
> I have  full.filter  variable  containing one or more +runs evaluated 
> dynamically. The simplest value is like this:
> [all[tiddlers]!is[system]has[cite_no]] 
> +[search:text:regexp]
>
> <> gives a valid regexp that can contain sqare 
> brackets, etc.
>
> I am trying to run 
> <$list filter=<>>
> search results representation
> 
>
> Also I tried to add 
> <$wikify name="full.filter" text=<>>
> before the list widget. But still no correct results.
>
> What syntax should I use?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/43cae517-841d-4931-833b-98a195be8283o%40googlegroups.com.