Ciao Hubert

When you copy off net you need to discard the containing "/ ... /". You 
don't need them in TW regex operators. They are normally for handing "raw 
regex" in JS which TW itself handles for you.

Here is some code ... First matches !!field that is whitespace only. Second 
matches empty !!field. Third combines both. 

<$list filter="[{!!data1}regexp[^\s+$]]" emptyMessage="{{!!data1}}">

  Field is  whitespace

</$list>

<$list filter="[{!!data1}regexp[^$]]" emptyMessage="{{!!data1}}">

  Field is empty

</$list>

<$list filter="[{!!data1}regexp[^\s*$]]" emptyMessage="{{!!data1}}">

  Field is empty or is whitespace

</$list>

Best wishes
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb8832cb-b5a9-4b51-908f-3a00548c0f0f%40googlegroups.com.

Reply via email to