Added to tw-regexp
On Friday, September 20, 2019 at 1:16:08 PM UTC+4:30, @TiddlyTweeter wrote:
>
> Mohammad
>
>> For you case I think
>> (^2019090|^2019091[012345])
>>
>> Should work!
>
>
> Neat! It could be slightly more compact
>
> (^2019090|^2019091[0-5])
>
> A version that does the same but without needing a variable to escape the
> [...] brackets.
>
> *Can be used directly in Advanced Search Filter ...*
>
> [regexp:created[(^2019090|^2019091(0|1|2|3|4|5))]]
>
>
> TT
>
> On Friday, 20 September 2019 08:27:24 UTC+2, Mohammad wrote:
>>
>> Not tested but this should work.
>>
>> Simply create a tiddler and paste the below code inside it
>>
>>
>> <$edit-text tag="input" size="40" tiddler="mycreated" default=""
>> placeholder=" regexp pattern"/>
>>
>> <$set name=pattern value={{mycreated}} emptyValue="::No pattern">
>> Number of tiddlers found: <$count
>> filter="[!is[system]!is[shadow]regexp:created<pattern>]"/><br>
>> <dl>
>> <$list filter="[!is[system]!is[shadow]regexp:created<pattern>]">
>> <dt><$link/></dt>
>> <dd><$view field=created format=date template="YYYY.0MM.0DD"/></dd>
>> </$list>
>> </dl>
>> </$set>
>>
>>
>> If you use
>>
>> ^201909[01]
>>
>>
>> Then all tiddlers created from 2019.09.01 to 2019.09.19 are created will
>> be listed! (system and shadow tiddlers are excluded)
>>
>> For you case I think
>>
>> (^2019090|^2019091[012345])
>>
>>
>>
>> Should work!
>>
>> Not tested
>>
>> Mark and Josiah may have better solution.
>>
>>
>> --Mohammad
>>
>>
>>
>> On Friday, September 20, 2019 at 2:58:34 AM UTC+4:30, Cd.K wrote:
>>>
>>> Here's what I've been trying to do:
>>>
>>> [image: 20-09-_2019_00-07-12.png]
>>>
>>> I want:
>>> *tiddlers created [01.09.2019 to 15.09.2019[*
>>>
>>> Is this possible?
>>>
>>>
>>>
--
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/965e4990-aa3f-41eb-8b8b-81f9552ceb27%40googlegroups.com.