Hi Danielo

> Does this filter works with regular expressions?

You need to use the regexp filter operator use regexps; the other filters
don't accept regexp operands.

Best wishes

Jeremy

On Tue, Nov 4, 2014 at 3:57 PM, Danielo Rodríguez <rdani...@gmail.com>
wrote:

> Hello Jeremy,
>
> Thank you very much for your explanation. Does this filter works with
> regular expressions? I expect this expression to remove everything but the
> last word afther the last /
>
> ([^\/]+\/)*
>
>
> El martes, 4 de noviembre de 2014 16:43:03 UTC+1, Jeremy Ruston escribió:
>>
>> Hi Danielo
>>
>> > I don't understand why the filter removes the whole tiddler from the
>> list if it does not match the prefix. For that purpose there is the prefix
>> filter, so I don't understand why it does not returns just the title
>> without the prefix and unchanged title otherwise.
>>
>> Here's how to remove a prefixes while leaving non-matching tiddlers
>> untouched:
>>
>> [removeprefix[theprefix]] [!prefix[theprefix]]
>>
>> The first operator selects the input tiddlers that have the prefix, and
>> removes it.
>>
>> The second operator adds to the selection the input tiddlers that do not
>> have the prefix.
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>
>>
>>
>> On Tue, Nov 4, 2014 at 3:38 PM, Danielo Rodríguez <rdan...@gmail.com>
>> wrote:
>>
>>> I think I answered too early.
>>>
>>> I don't understand why the filter removes the whole tiddler from the
>>> list if it does not match the prefix. For that purpose there is the prefix
>>> filter, so I don't understand why it does not returns just the title
>>> without the prefix and unchanged title otherwise.
>>>
>>> El martes, 4 de noviembre de 2014 11:51:52 UTC+1, Danielo Rodríguez
>>> escribió:
>>>
>>>> Yes! Exactly that.
>>>>
>>>> Thank you.
>>>>
>>>> El martes, 4 de noviembre de 2014 11:46:17 UTC+1, Alberto Molina
>>>> escribió:
>>>>>
>>>>> FilterOperator: removeprefix ?
>>>>>
>>>>> Le mardi 4 novembre 2014 11:07:54 UTC+1, Danielo Rodríguez a écrit :
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I though it was possible to remove certain prefixes when listing
>>>>>> tiddler titles, but I can't find the way.
>>>>>> Basically I want to list all the tiddlers with certain tag but
>>>>>> removing everything before the last "/". Seems easy but I can't find the
>>>>>> key.
>>>>>>
>>>>>> Regards.
>>>>>>
>>>>>  --
>>> 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 tiddlywiki+...@googlegroups.com.
>>> To post to this group, send email to tiddl...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:jeremy...@gmail.com
>>
>


-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to