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.

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

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


Alex
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to