As far as I understand the doc examples 
<http://tiddlywiki.com/#regexp%20Operator%20%28Examples%29>, the regexp 
filter operator can operate on arbitrary fields, but the result is still a 
list of tiddler names.
This usecase would require the filter mechanism to return the matching 
parts, or at least a part of them (capturing groups / back references).

Ideally both would be returned, so one could list the like so:

<$list filter="[regexp:text[<excerpt>(.*)</excerpt>]]">
  <<currentTiddler>>: <<regexp_match1>>
</$list>

Unfortunately, I have no idea how the <<regexp_match1>> part could be 
accomplished.

Am Freitag, 18. September 2015 09:53:53 UTC+2 schrieb Tobias Beer:
>
> Hi Mat,
>
> Nice one. I've fiddled a bit around with it and added it here...
>
> Text Excerpts @ tb5 <http://tobibeer.github.io/tb5/#Text%20Excerpts>
>
> Although, I am wondering a bit if this is not a suitable job for...
>
> matchfilter @ eucaly-tw5 
> <http://eucaly-tw5.tiddlyspot.com/#%24%3A%2Fplugins%2Feucaly%2Fmatchfilter%2Freadme>
>
> It would be great if he / or she could chime in and perhaps let us know if 
> we can't use something a little more powerful like...
>
> foo
>
> <excerpt>
> whatever the content
> </excerpt>
>
> bar
>
> or even...
>
> <excerpt note="some more info">
> whatever the content
> </excerpt>
>
> Or can we do this using the regexp filter?
> Ah, always makes me a little grumpy my lack of literacy when it comes to 
> regexp. ^_^
>
> Best wishes,
>
> — tb
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/65cb561e-2901-4e74-a4fe-25dcd7448038%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to