I'm processing dictionary tiddler rows that each contain a sequence of 
values I need to handle individually. I'd love to use *enlist* in a filter 
to break apart each row for consumption by a <$list>. The problem with that 
approach is the rows may contain duplicate values that need to be 
preserved, and core filters/operators currently remove duplicates.

In looking for a solution I explored both the *split:list* filter from 
tobibeer and the *split* operator being introduced in TW v5.1.20, but 
neither is entirely suitable as a straight drop-in replacement for *enlist*. 
In short, *split:list* does not preserve duplicates despite its 
documentation appearing to say it should, and v5.1.20 *split* does not 
respect the double square bracket convention -- for values which include 
spaces -- as *enlist* does. (See this topic 
<https://groups.google.com/forum/#!searchin/tiddlywiki/nebauer%7Csort:date/tiddlywiki/o7cwG5kYl4E/RGWe0QJIAgAJ>
 for 
more details, including test scripts and example output.)

There is a github issue (#3757 
<https://github.com/Jermolene/TiddlyWiki5/issues/3757>) from early February 
which discussed the issue of v5.1.20 *math* operators not accepting 
duplicates, but it did not reach any resolution (at least, not yet).

Has anyone else grappled with this problem and found a solution or 
workaround? Preferably one that does not involve hacking on core 
tiddlers... :-)

Regards,
David.

P.S. I'm using TW 5.1.19/nodejs.

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3d3c7d84-1f2d-4210-8158-1acb51f16d19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to