1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

avoid regexp warning after 46625

This commit is contained in:
Bjorn Munch
2009-10-09 15:16:36 +02:00
parent 79060e12ee
commit 052d9bef83

View File

@ -3249,7 +3249,7 @@ sub run_testcase ($) {
# Allow only alpanumerics pluss _ - + . in combination names # Allow only alpanumerics pluss _ - + . in combination names
my $combination= $tinfo->{combination}; my $combination= $tinfo->{combination};
if ($combination && $combination !~ /^\w[\w-\.\+]+$/) if ($combination && $combination !~ /^\w[-\w\.\+]+$/)
{ {
mtr_error("Combination '$combination' contains illegal characters"); mtr_error("Combination '$combination' contains illegal characters");
} }