Hi Alex,

On Mon, Feb 12, 2018 at 04:19:53PM +0200, Alexander Kanavin wrote:
> On 02/12/2018 04:16 PM, Maxin B. John wrote:
> >In the case of fontconfig, version x.x.9x are release candidates
> >for next version.
> >+UPSTREAM_CHECK_REGEX = "fontconfig-(?P<pver>\d+\.\d+\.[^9]\d*).tar.gz"
> 
> This will incorrectly exclude x.x.9 which is not a release candidate. You
> need to exclude "9 followed by one or more digits", not just 9 alone.

You are right. Thanks for looking into this. However, in practice, I haven't 
found
a single non-RC release which follow the pattern x.x.9 for these 
packages (fontconfig, libinput). That doesn't mean, it is improbable.

> Also, "." in .tar.gz means "any character", if you want to match literal "."
> it should be "\."

Ok.

> This is a good place to practice:
> http://regex101.com

Thanks. I will update and send a v2.

> Alex

Best Regards,
Maxin
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to