Commit 1cfe27ba authored by Bjorn Munch's avatar Bjorn Munch

avoid regexp warning after 46625

parent ebd84796
......@@ -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");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment