This macro does not catch links generated by macros or transclusions.

\define the_filter()
>
> <!-- looks for [[link]] & [ext[link]] & [img[link]] links -->
> <$set name="pattern" value="\[.*\[.+\]\]">
>
> <!-- links shown as numbered list -->
> <ol>
> <$list filter="[all[]!is[system]] -[regexp:text<pattern>] -[tag[source]]">
> <li><$link/></li>
> </$list>
> </ol>
> </$set>
>
> \end




Look at Chapter 9 of The-Book for a detailed explanation of filters and 
regular expressions.
Look at Announcing Tiddlywiki and regexp Examples 
<https://groups.google.com/forum/#!searchin/tiddlywiki/authorname$3AMohammad$20regular%7Csort:date/tiddlywiki/7tOSchjqwI0/zLCXeVm7AAAJ>
 
and Tiddlywiki and regexp examples part ii: Working with fields 
<https://groups.google.com/forum/#!searchin/tiddlywiki/authorname$3AMohammad$20regular%7Csort:date/tiddlywiki/TOUdt8ZjTa4/X9WLrETRBgAJ>
  
for regular expression.

-- 
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/6559afdd-9b2f-4a74-86fd-91b7d5af190c%40googlegroups.com.

Reply via email to