Thanks Stephan and Mario. I have modified the regex using regex101.com to 
suit my needs. :)

I have one more question. Is there a way to get the actual title of the 
tiddler here. For example I would like to get

*06-Oct 18:00 -> Swimming. *

Where Swimming is the name of the tiddler and 06-Oct 18:00 is the time of 
completion of this task (which is tagged with the help of fieldmangler). 

This code I would like to place it in another tiddler (journal) and hence 
the below is not suitable.

<$list filter="[tag[Completed]tags[]regexp[^\d+:\w\w\w\s\d\d:\d\d$]]">
{{!!title}}
</$list>
-->
{{!!title}}

Can you please suggest me on what can be done for this?

Shash



On Wednesday, October 8, 2014 3:05:03 PM UTC+5:30, PMario wrote:
>
> On Wednesday, October 8, 2014 10:32:06 AM UTC+2, Stephan Hradek wrote:
>>
>> Does this example help?
>>
>> <$list filter="[is[current]tags[]regexp[^\d+:\w\w\w\s\d\d:\d\d$]]">
>>    <$view field="title"/>
>> </$list>
>>
>>
>>
>  A human readable description for Stephans regexp :)
>
> // ^\d+:\w\w\w\s\d\d:\d\d$
> // 
> // Options: case insensitive
> // 
> // Assert position at the beginning of the string «^»
> // Match a single digit 0..9 «\d+»
> //    Between one and unlimited times, as many times as possible, giving 
> back as needed (greedy) «+»
> // Match the character “:” literally «:»
> // Match a single character that is a “word character” (letters, digits, 
> and underscores) «\w»
> // Match a single character that is a “word character” (letters, digits, 
> and underscores) «\w»
> // Match a single character that is a “word character” (letters, digits, 
> and underscores) «\w»
> // Match a single character that is a “whitespace character” (spaces, 
> tabs, and line breaks) «\s»
> // Match a single digit 0..9 «\d»
> // Match a single digit 0..9 «\d»
> // Match the character “:” literally «:»
> // Match a single digit 0..9 «\d»
> // Match a single digit 0..9 «\d»
> // Assert position at the end of the string (or before the line break at 
> the end of the string, if any) «$»
>
> -m
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to