[pbs-devel] [PATCH proxmox-backup] api types: fix non-capturing group syntax

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Apr 6 07:33:35 CEST 2023


Am 30/03/2023 um 09:20 schrieb Dominik Csapak:
> a non capturing group is '(?:)' not '(:?)' so fix that.
> None of these regexes are used where would use capturing groups.
> DATASTORE_MAP_REGEX and TAPE_RESTORE_SNAPSHOT_REGEX are only used
> as api types and BLOCKDEVICE_NAME_REGEX is only used once outside of the
> api and there we also don't look at the capturing groups.
> 

argh, noticed this to late to amend but here you missed adding a trailer:

Reported-by: Stefan Sterz <s.sterz at proxmox.com>

> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---







More information about the pbs-devel mailing list