linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Thanos Makatos <thanos.makatos@onapp.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] lvm filter regex format
Date: Mon, 18 Dec 2017 17:16:14 +0000	[thread overview]
Message-ID: <CAM2wQBvP-h9GSTYLk_69rYVL=WEsPyvL0KsH+gqBBPJ_10J75A@mail.gmail.com> (raw)

I'm trying to be very specific in the global_filter of lvm.conf and
ignore devices under /dev/mapper of the format
'^/dev/mapper/[a-z0-9]{14}$', however the repetition count '{14}' does
not seem to be honored?

Currently I have to repeat '[a-z0-9]' fourteen times, which works but
it's a bit ugly.

Does the filter use some standarized regex format?

-- 
Thanos Makatos

             reply	other threads:[~2017-12-18 17:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18 17:16 Thanos Makatos [this message]
2017-12-18 17:49 ` [linux-lvm] lvm filter regex format Joe Thornber
2017-12-19  9:36   ` Thanos Makatos
     [not found] <72381975.739900.1513623186634.ref@mail.yahoo.com>
2017-12-18 18:53 ` matthew patton
2017-12-18 22:43   ` Zdenek Kabelac
2017-12-19  8:51   ` Joe Thornber

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='CAM2wQBvP-h9GSTYLk_69rYVL=WEsPyvL0KsH+gqBBPJ_10J75A@mail.gmail.com' \
    --to=thanos.makatos@onapp.com \
    --cc=linux-lvm@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).