Fix Regex.
This commit is contained in:
parent
cdf9526b3d
commit
eb52743036
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ unless (defined $PAYMENT_DIR and -d $PAYMENT_DIR) {
|
|||
print STDERR "usage: $0 --paymentDir=<DIRECTORY> option is required and directory must exist\n";
|
||||
exit 1;
|
||||
}
|
||||
unless (defined $PAYMENT_NUMBER and $PAYMENT_NUMBER =~ /^123$/) {
|
||||
unless (defined $PAYMENT_NUMBER and $PAYMENT_NUMBER =~ /^[123]$/) {
|
||||
print STDERR "usage: $0 --paymentNumber=<VALUE> option is required and must be 1, 2 or 3\n";
|
||||
exit 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue