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.
This commit is contained in:
parent
55a83d9ceb
commit
cb463ba415
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ sub read_products() {
|
||||||
for (@extra) {
|
for (@extra) {
|
||||||
if (/^\+(.*)/) {
|
if (/^\+(.*)/) {
|
||||||
push @addon_ids, $1;
|
push @addon_ids, $1;
|
||||||
} elsif (/^\#(\w+)(=(.*))/) {
|
} elsif (/^\#(\w+)(=(.*))?/) {
|
||||||
$tags{$1} = $2 ? $3 : 1;
|
$tags{$1} = $2 ? $3 : 1;
|
||||||
} else {
|
} else {
|
||||||
$compat = 1;
|
$compat = 1;
|
||||||
|
|
2
revbank
2
revbank
|
@ -18,7 +18,7 @@ use RevBank::Messages;
|
||||||
use RevBank::Cart;
|
use RevBank::Cart;
|
||||||
use RevBank::Prompt;
|
use RevBank::Prompt;
|
||||||
|
|
||||||
our $VERSION = "6.0.0";
|
our $VERSION = "6.0.1";
|
||||||
our %HELP1 = (
|
our %HELP1 = (
|
||||||
"abort" => "Abort the current transaction",
|
"abort" => "Abort the current transaction",
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue