From cb463ba41558c0bbca5f53c24dffd0038c6c74bb Mon Sep 17 00:00:00 2001 From: Juerd Waalboer Date: Sun, 21 Jan 2024 02:48:33 +0100 Subject: [PATCH] Fix #tag without value This is weird. I'm sure I did test valueless tags. But apparently between that and committing, the `?` quantifier in the regex got lost, and I don't know how that happened. --- plugins/products | 2 +- revbank | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/products b/plugins/products index e1251cc..2ca24c2 100644 --- a/plugins/products +++ b/plugins/products @@ -48,7 +48,7 @@ sub read_products() { for (@extra) { if (/^\+(.*)/) { push @addon_ids, $1; - } elsif (/^\#(\w+)(=(.*))/) { + } elsif (/^\#(\w+)(=(.*))?/) { $tags{$1} = $2 ? $3 : 1; } else { $compat = 1; diff --git a/revbank b/revbank index e921b53..319cac0 100755 --- a/revbank +++ b/revbank @@ -18,7 +18,7 @@ use RevBank::Messages; use RevBank::Cart; use RevBank::Prompt; -our $VERSION = "6.0.0"; +our $VERSION = "6.0.1"; our %HELP1 = ( "abort" => "Abort the current transaction", );