Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-core@lists.openembedded.org,
	John <maxin.john@intel.com>, Maxin <maxin.john@intel.com>
Subject: Re: [PATCH 3/4] fontconfig: fix upstream version check
Date: Mon, 12 Feb 2018 16:19:53 +0200	[thread overview]
Message-ID: <3c2e005c-2a1b-5656-4794-54ce2c34109a@linux.intel.com> (raw)
In-Reply-To: <1518444986-25886-3-git-send-email-maxin.john@intel.com>

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


  reply	other threads:[~2018-02-12 14:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-12 14:16 [PATCH 1/4] libevdev: upgrade to version 1.5.8 Maxin B. John
2018-02-12 14:16 ` [PATCH 2/4] harfbuzz: upgrade to version 1.7.5 Maxin B. John
2018-02-12 14:16 ` [PATCH 3/4] fontconfig: fix upstream version check Maxin B. John
2018-02-12 14:19   ` Alexander Kanavin [this message]
2018-02-12 14:35     ` Maxin B. John
2018-02-12 14:43       ` Alexander Kanavin
2018-02-12 17:08         ` Maxin B. John
2018-02-12 14:16 ` [PATCH 4/4] libinput: " Maxin B. John
2018-02-12 14:20   ` Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3c2e005c-2a1b-5656-4794-54ce2c34109a@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=maxin.john@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox