You could try something like this (untested):

mystring +[!regexp{!!foo}] [{!!foo}!is[blank]then[]else[mystring]]

On Thursday, July 2, 2020 at 11:50:43 AM UTC+2, Mat wrote:
>
> I want to ensure that a string does NOT contain another string located in 
> a field:
>
> {{{ mystring +[!regexp{!!foo}] }}}
>
> Fair enough. But, obviously(!?), if that !!foo field doesn't exist or is 
> empty then mystring *should *also pass the filter. But !regexp doesn't 
> allow this. (I reason "if mystring does not contain 'emptystring' nor 
> contains 'NIL' then it should pass")
>
> How can I make a single filter that behaves as described?
>
> Thank you!
>
> <:-)
>

-- 
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/2f3167e2-44b3-4f54-bfd1-2ff0721cb11co%40googlegroups.com.

Reply via email to