Trailing space - ah, sorry, yes, I thought I had found a clever way to 
solve a problem:


TL;DR: I need a *regexp* to find: the fragment (i.e the partial title) that 
is always prefixed with [[, but NOT an eventual ]].


The longer description of the problem and why I thought a trailing space 
was a solution:

foo [[tidone]] [[tido

For the above text, clicking the suggested tidone would cause this:

foo [[tidone]] ne]] [[tidone]]

...ie. the replacement is done regardless if [[tido is followed by an 
eventual ]] or not. That is because of this filter:

[<text>split<linkfragment>join<link>]

...so I figured a space would distinguish the [[tido to be replaced from 
the ones not to be replaced but as you've discovered it was not a 
sufficient solution. 

Hopefully if I exchange split for splitregexp with a clever regexp it can 
be resolved.

<:-) 

-- 
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/82ac56af-9b6b-4d7f-8a68-fff7a49593fe%40googlegroups.com.

Reply via email to