Re: Checking a match for numbers

"@lbutlr" <[email protected]> Mon, 28 Aug 2017 19:15:24 -0600
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
On 23 Aug 2017, at 12:53, David W. Tamkin <[email protected]> wrote:
> # If the number of digits is more than 4, continue and don't skip.
> :0
> * 1^1 VARIABLE ?? [0-9]
> * -4^0
> {
> # Fetch previous score and add back 4 to get digit count again;
> # then subtract 1/5 the length of the variable.
> :0
> * $=3D^0
> * 4^0
> * -.2^1 VARIABLE ?? .
> action
> }

That looks good. Hadn't thought about a fractional score.

-- =

Apple broke AppleScripting signatures in Mail.app, so no random signatures.