[pbs-devel] applied: [PATCH proxmox-backup] api types: fix non-capturing group syntax
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Apr 6 07:29:55 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.
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> pbs-api-types/src/datastore.rs | 2 +-
> pbs-api-types/src/lib.rs | 2 +-
> pbs-api-types/src/tape/mod.rs | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
>
applied, thanks!
More information about the pbs-devel
mailing list