REEP-Filters in TW

44 views
Skip to first unread message

Jan

unread,
Aug 14, 2016, 7:09:47 PM8/14/16
to tiddlyWiki
Hi,
I have some questions on regexp-filters and the tiddlers/moduls necessary for that.
I tried to implement the following expression wich works fine here http://tiddlystuff.tiddlyspot.com/#Idea%20for%20a%20footnote%20filter
<dl>
<$list filter="[!is[current]search[||footnote}}]each[title]]">
<dt><$view field="title"/></dt>
<$list filter="[is[current]match:text/\{\{(.*?)\|\|footnote\}\}/(g)]" variable="footnote">
<dd><<footnote>></dd>
</$list>
</$list>
</dl>

In skeeves TW this gives a working Footnote-filter.
But i did not get it to work in my TW (slidesnstories.tiddlyspot.com).

These are the Tiddlers I
imported from tiddlystuff:
  1. $:/core/modules/filters/field.js
  2. $:/core/modules/filters.js
  3. $:/core/modules/filters/match.js

I did not manage to find a beta-version of $:/core/modules/filters.js that does not crash my TW (Which means it produces the embarrassing "Internal JavaScript Error" when reopening).
I Think on skeeves this should already have been a 5.0.8b version.
Match.js seems which Stephan indicate as necessary does not crash the TW - but has no effect either.

If anyone would be so gentle to have a close look:
I prepared this on http://slidesnstories.tiddlyspot.com/ just press "recent Issues" in the Welcome.Tiddler.

Thanks a lot
Jan

Reply all
Reply to author
Forward
0 new messages