There's no filter or widget that will currently split out the text that you 
find with a regular expression.

The PR #2963 I proposed would do that.

Jeremy has a concept for a <$match> widget that would find strings inside 
of strings. Unclear what the timeline for that is.

Another possibility might be to use the range filters and nested lists to 
generate all possible dates within a range. Then test for each possible 
date inside of the text, and, when found report the generated date and the 
tiddler that contained it.

If the dates inside the tiddler have a specific relationship to the text 
(e.g. Birthdates, appointment dates) then perhaps those dates should go 
into their own fields, which would make it unnecessary to do a regular 
expression process on the entire text. My understanding is that regular 
expressions are processor-heavy (though that makes more difference on a 
tablet then on a desk-top).

-- Mark

On Saturday, November 3, 2018 at 3:10:05 PM UTC-7, Dave wrote:
>
> I'll tell you why I want this for context.
>
> With the new Bob edition of TW5 that allows instances on Android and PC 
> with tiddlers as files, I want to be able to (even when I don't have a 
> node.js instance running - e.g. on a computer where the tiddlers folder has 
> been shared  but I don't even have node installed) quickly create a text 
> note ("some note.tid") that I want to have a due date associated with it.  
> I was wanting to just add the "tag" something like ;;2018-11-03 or 
> ..2018-11-03 somewhere in the text (to be picked up later by the regex). 
>
> Having looked into it a bit, I see now that as long as I make a tid  file 
> with at least a "title: some note" at the first line, I can put "due: 
> 2018-11-03" on the  second line and it will automatically be picked up by 
> the BobTW as a tiddler with a field called "due"
>
>
> Just for interests sake however, I would like to know if it is possible to 
> get a list displayed of text like ";;2018-11-03" simply by finding it with 
> regex.
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/02de741f-1f1e-4e59-b752-acfbdf5b1e66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to