Repeat for email ...

On Wednesday, 25 September 2019 14:11:43 UTC+2, @TiddlyTweeter wrote:
>
> The flex of TW filter syntax is RICH, USEFUL, DAUNTING & WEIRD. 
>
> Taking *Regular Expressions* as an example... Five ways to match titles 
> using regular expressions in TiddlyWiki Advanced Search filters. 
>
> The various TW operators provide several ways to match. 
>
> *They are not all fully documented. *
>
> And they do NOT work all the same way. BUT ...
>
> *Example Tiddler Titles beginning "b or B" *
>
>> ... in TiddlyWiki.com Advanced Search: Filter. 
>
> *ALL produce the same result.*
>  
>
>> Search Operator <https://tiddlywiki.com/#search%20Operator> -- case 
>> insensitive by DEFAULT
>> [search:title:regexp[^b]] 
>>
>> Field Operator <https://tiddlywiki.com/#field%20Operator>-- variant case 
>> match via CHARACTER CLASS (NOTE: variable NOT needed for [...] brackets for 
>> Character Class)
>> [field:title/^[bB]/]
>>
>> Regexp Operator <https://tiddlywiki.com/#regexp%20Operator>-- case 
>> insensitive via FLAG
>> regexp:title[(?i)^b]]
>>
>> Regexp Operator -- variant case match via capturing group ALTERNATION
>> [regexp:title[^(b|B)]]
>>
>> Regexp Operator -- match using VARIABLE
>> [regexp:title<var-b-first>] 
>>
> You need create a global macro (Tiddler named anything, tagged ... 
>> *$:/tags/Macro)* containing ...
>>
> \define var-b-first() ^[bB] 
>>
>
> TT
>

-- 
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/2ee9f68f-4951-4f71-811f-cd6ddc113aef%40googlegroups.com.

Reply via email to