Mat - thanks for your Idea never the less

By the way prefix[one]suffix[one]] 

Is the closes to exact match we have. I expect onesomethingone will bypass 
this.

regexp[^one$]

is thus very helpful

So the case can MAY now look like this but I expect the :: needs to be 
removed and "false" not a possible value because ":" is possibly a regex 
value.

`[<case>match[one]]` would still be nicer Support here 
<https://github.com/Jermolene/TiddlyWiki5/issues/4130>

<$list filter="[<casevariable>] ~[[false]]" variable=case>
   <$list filter="[<casevariable>regexp[^false$]]" variable=case>
        Do this if no case value
   </$list>
   <$list filter="[<case>regexp[^caseone$]]" variable=case>
        Process "caseone"<br>
   </$list>
   <$list filter="[<case>regexp[^casetwo$]]" variable=case>
        Process "casetwo"<br>
   </$list>
   <$list filter="[<case>regexp[^casethree$]]" variable=case>
        Process "casethree"<br>
   </$list>
<!-- Even this -->
   <$list filter="[<case>regexp[^casetwo$]] [<case>regexp[^casethree$]]" 
variable=case>
        Process "casetwo" and "casethree"<br>
   </$list>
</$list>


Regards
Tony

On Sunday, July 28, 2019 at 10:44:48 AM UTC+10, Mat wrote:
>
> On Sunday, July 28, 2019 at 2:11:39 AM UTC+2, TonyM wrote:
>>
>> Mat,
>>
>> I expect it would suffice. I assume that is an equivalent for equal or 
>> prefix[one]suffixe[one]]?
>>
>
> AFAIK it is used for exact match so it is not equivalent to prefix-suffix.
>  
>
>> If you know regex well I could generate a list of desirable tests for you 
>> to match?
>>
>
> I barely even know regexp badly.  That is basically the only one I know 
> for exctly the reason of being able to make an exact comparison. BUT don't 
> take my word for it, I just found it on the web...
>
> <:-)
>

-- 
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/f271269c-55c2-4875-b84d-49d5fb6a4063%40googlegroups.com.

Reply via email to