Re: Portscout wrong 'New version'

From: Felix Palmen <felix_at_palmen-it.de>
Date: Sun, 24 Jul 2022 01:33:46 UTC
Hello Nuno,

* Nuno Teixeira <eduardo@freebsd.org> [20220724 01:53]:
> PORTSCOUT= limit:^[0-9.]+$$ # ignore master.mint* tags

regarding this, portscout is documented to use perl regex. I didn't try
myself so far, but this *should* mean [0-9] could be simplified to \d.

Of course, then it wouldn't include a dot (.)

But then, no version number will ever *start* with a dot (I assume).
With PORTSCOUT limit, I'd try to be as permissive as possible. \d\.\d
seems to be a (perl regex) pattern matching most "sane" version numbers
(and reject other tags appearing on github).

Cheers, Felix

-- 
 Dipl.-Inform. Felix Palmen  <felix@palmen-it.de>   ,.//..........
 {web}  http://palmen-it.de  {jabber} [see email]   ,//palmen-it.de
 {pgp public key}     http://palmen-it.de/pub.txt   //   """""""""""
 {pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A