Yes, I hope to be able to distinguish between items that are enclosed in 
brackets and items that are not.

My latest endeavor where I need this is for the TitlePicker (this issue 
<https://groups.google.com/d/msg/tiddlywiki/k85NeNjush8/3n9wG7rXAQAJ>) 
which looks at what is typed in the editor (as it is typed) and needs to 
identify strings that are "title fragments", i.e prefixed with "[[" that 
are not (eventually) followed by "]]" or other non-title indicators like <$ 
etc . I'm fiddling with various attempts at regexps for this but it would 
be trivial if I could just sort out the links (i.e the [[...]] ) to begin 
with. It is particularly tricky to work with double brackets in filters 
because of how filters treat them.

Given your reply that 

That’s not quite how filters work: double square brackets within filters 
> are used to delimit titles containing spaces. The brackets don’t remain 
> part of the name, and therefore aren’t visible to the rendering template.


...I don't see how the input "aa" can be distinguished from "[[bb]]" then, 
or?

Again, thank you for your replies.

<:-)

-- 
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/6aac0413-b6bf-4c81-9e7a-cf4a6d3efd1a%40googlegroups.com.

Reply via email to