You all convinced me it was dumb to use a field *name* alone as a variable,
so I used the info above to switch to keeping the dates in a field called
dates like this:
\define subj2(tag day)
''Current complaints''
<$set name="digit-pattern" value="$day$">
<$list filter="[regexp:dates<digit-pattern>]">
<div>
{{||clist.temp.mynow}}
</div>
</$list>
</$set>
Previous Complaints
<$set name="today1" value="$day$">
<$set name="digit-pattern" value="[\d\d\d\d-\d\d-\d\d]" >
<$list filter="[regexp:dates<digit-pattern>!regexp:dates<today1>]"><div>
{{||clist.temp.mynow}}
</div>
</$list>
</$set>
</$set>
\end
\define subj()
<$macrocall $name=subj2 tag=Subjective day={{my-now}} />
\end
<table>
<tr>
<td><<subj>></td>
<td> {{newSubjective}} </td>
</tr>
</table>
--
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/a302af6b-d75b-491f-b184-2a376a00f545%40googlegroups.com.