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 ebd84796fe
commit 1cfe27ba58

View File

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