Unless you've created a field "has", regexp:has won't mean anything.

I'm not convinced that #1 and #3 are doing what you think they're doing. 
[20] is a character class, not a match. I think they should be plain old 
"20" without the square braces. But I could be wrong. 

On Wednesday, April 29, 2020 at 5:24:58 PM UTC-7, Dave Parker wrote:
>
> Hi,
>
> I'm trying to list tiddler with a date as a field name.  In the following 
> 3 lists, the first and the third work, but not the 2nd (which is the one I 
> need to work)
> <<list-links "[has[2020-04-29]]">>
>
> ----
> <$set name="digit-pattern" value="[20][1-9][0-9]-[0-2][0-9]-[0-3][0-9]">
> <<list-links "[regexp:has<digit-pattern>]">>
> </$set>
>
> ----
> <$set name="digit-pattern" value="[20][1-9][0-9]-[0-2][0-9]-[0-3][0-9]">
> <<list-links "[regexp:title<digit-pattern>]">>
> </$set>
>
> The first finds tiddlers with "2020-04-29" as the field name, the third 
> finds tiddlers with the title of the regex pattern, but I need to find 
> tiddlers with field names by that pattern.
>
> Why does the 2nd not work (and how do I fix it?)
>
>
> Thanks,
> - Dave
>
> p.s., I also tried this which didn't work:
> <$set name="digit-pattern" value="[20][1-9][0-9]-[0-2][0-9]-[0-3][0-9]">
> <<list-links "[regexp:field<digit-pattern>]">>
> </$set>
>
>
>

-- 
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/31575ec0-af5a-4921-9874-18eb5e2f4107%40googlegroups.com.

Reply via email to