There is a second PR: https://github.com/Jermolene/TiddlyWiki5/pull/2963 which may be similar. ... +1 this one too!
Auf der Mauer, auf der Lauer sitzt 'ne kleine Wanze
<$list filter="[regexp:text[auf der (\w+)]]"/>
<$list filter="[regexp:text[(?i)auf der (\w+)]]"/>
<$list filter="[regexp:text[(?gi)auf der (\w+)]]"/>
<$list filter="[regexp:text[(?i)auf der \w+]]"/>
Last Example
<$list filter="[regexp:text[(?i)auf der \w+]]"/>
will return "Exampletiddler" - as we have no capturing group and so the title is returned.
Is it possible to have several capturing groups?
Examples
Exampletiddler contains
Auf der Mauer, auf der Lauer sitzt 'ne kleine Wanze
<$list filter="[pick:text[auf der (\w+)]]"/>
<$list filter="[pick:text[(?i)auf der (\w+)]]"/>
<$list filter="[pick:text[(?gi)auf der (\w+)]]"/>
<$list filter="[pick:text[(?i)auf der \w+]]"/>
<$list filter="[pick:text[(?i)(auf der) (\w+)]]"/>
<$list filter="[pickgroups:text[(?gi)(auf der) (\w+)]]">
<$splitgroups a="a: $1" b="b: $2">
<<a>>, <<b>>
</$splitgroups>
</$list>
Ciao Stephen
I don't understand the mechanics. But IF what you mean is that we could extract (say) every web-address in text or fields in a whole TW to a list I'm all for it.
<$list filter="[pick[(?g)(https?://^\S+)]each:value[][">
@bobWow!
#twittlywiki
tc-tiddler-xx {......}
<table>
or #id
...What would you say - would your pick operator enable these things?
@StephanAny news on this? Is your plugin created? Really looking forward to it and I think it will be very useful :-)