You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Robert Boyl <ro...@gmail.com> on 2018/01/19 15:31:23 UTC

catching a dot in the number of a rule

Hi, masters!

I know
[1-9]{1,5} spreadsheets

catches somnething like

23244 spreadsheets

What about 23.244 spreadhseets? How to make the rule consider a dot in the
number?

Thank you!
Rob

Re: catching a dot in the number of a rule

Posted by David Jones <dj...@ena.com>.
On 01/19/2018 09:31 AM, Robert Boyl wrote:
> Hi, masters!
> 
> I know
> [1-9]{1,5} spreadsheets
> 
> catches somnething like
> 
> 23244 spreadsheets
> 
> What about 23.244 spreadhseets? How to make the rule consider a dot in 
> the number?
> 
> Thank you!
> Rob

https://regex101.com/

\d{1,2}\.?\d{1,5}

-- 
David Jones