See the solution here:

https://groups.google.com/d/msg/tiddlywiki/2BmQGW1yv2M/BezFntw6BwAJ


Advanced search cannot handle regexp when special characters are used

--Mohammad

On Friday, September 20, 2019 at 2:49:56 AM UTC+4:30, Cd.K wrote:
>
> coda coder
>
> I think we're talking at cross purposes.
>
> I want this regexpr:created as a condition in Tools / Advanced Search / 
> Filter. 
>
> [image: 20-09-_2019_00-14-09.png]
>
> Exactly at this point I would like to extend the Advanced Search Filter by 
> the restriction from day 01 inclusive to day 15 exclusive.
>
>
>
> On Friday, September 20, 2019 at 12:04:52 AM UTC+2, coda coder wrote:
>>
>> Sorry, I should have mentioned, it needs to be a macro. 
>> https://tiddlywiki.com/#Macros%20in%20WikiText
>>
>> At the top of your tiddler:
>>
>> \define my-macro() 
>>
>> <$set name=pattern value="201909(0[1-9]|1[0-4])">
>> <$list filter="[regexp:created<pattern>]">
>>
>> </$list>
>> </$set>
>> \end
>>
>>
>>
>> Then, somewhere lower down (below all other macros if you have more than 
>> one) ...
>>
>> <<my-macro>>
>>
>> You can rename my-macro to anything that suits you: date-thing, if you 
>> want.
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9e71e58e-1a0f-4cc3-bb15-3633c97361d8%40googlegroups.com.

Reply via email to