Ciao TonyM

Regex is best developed with concrete data. It has *no* maths ability. 
Everything is just a string of characters to it. 
But its often possible to match using pattern. It depends on working with 
example test data to ensure where it might work.

So could you give a paragraph or two of test data?

TT

On Saturday, 24 August 2019 07:15:47 UTC+2, TonyM wrote:
>
> Mark/Josiah,
>
> Is there a simple way to test a number is in a range and or greater than 
> or less than?
>
> It would be nice to have a pattern to test if a number lies between or 
> equal to a number, even if we simply follow it with the new then or else 
> operators and or make use of the emptyMessage on the list. Sadly the reveal 
> greater than less than an equal to tests are somewhat limited and we do not 
> yet have greater than or less than filter operators although match is now a 
> form of equals.
>
> We may be able to have some tests like this
>
> {{{ [<number>regex[input>A$<B]else[out of range]] }}} 
>
> Regards
> Tony
>

-- 
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/19e6671e-7a36-4585-b79e-39d410c3a714%40googlegroups.com.

Reply via email to