It's the linefeeds in the original text. What I did here was to add regular expressions to take the lines apart, join them back together, and then do the original split.
Good luck! \define ViewTiddlerAppended() <$vars ViewText={{$(viewpath)$}}> <p/>VIEW TEXT: <<ViewText>> <$set name=shortpath filter="[{$(viewpath)$}splitregexp[\n]join[ ]splitregexp[^(.*?).\s*$]]" select=1 > <p/>OUTPUT: <<shortpath>> </$set> </$vars> \end ^(.*?).$ <$vars viewpath="$:/plugins/felixhayashi/tiddlymap/graph/views/MyView/map 1" > View Tiddler Appended: <<ViewTiddlerAppended>> </$vars> On Tuesday, August 20, 2019 at 2:06:54 PM UTC-7, MagoArcade wrote: > > Thanks. Attached > -- 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/82472417-1d53-4500-8a05-08404593d338%40googlegroups.com.