Kebi et all

Posting a clarification for future visitor to this thread.

Backlinks has both a plain language meaning and a specific one in 
Tiddlywiki (The result of the backlinks operator)

Just keep in mind "[regexp:text<text-pattern-backlink>]" is not finding 
backlinks, you are finding tiddlers named in Square brackets, 

   - although often they are backlinks, and in your example you use 
   "[all[current]backlinks[]]" to get the current tiddlers backlinks.
   - but you will also get missing tiddlers as defined by [[tiddler name]] 
   (Which are really backlinks only if the tiddlername exists)
   - you will not retrieve TiddlerName which becomes a link, and a backlink 
   due to being camelCase (unless its in the currentTiddler)

Also I expect Eric's solution does almost the same as your final answer.


Regards
Tony



On Wednesday, 19 August 2020 12:35:07 UTC+10, kebi wrote:
>
> I finally found a simple solution to the problem
>
> \define text-pattern-backlink()
> \u005B\u005B$(currentTiddler)$\u005D\u005D
> \end
>
> filter="[all[current]backlinks[]] [regexp:text<text-pattern-backlink>] 
> -[is[current]] -[tag[hide]] -[is[system]]"
>
> This filter can find backlinks that the default backlink filter can't find 
> (for example inside a macrocall)
>
> Thank you everyone for your help! 
>

-- 
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/9016caaa-825a-44ab-8562-86b42d92834co%40googlegroups.com.

Reply via email to