Commit de54fa30 authored by Bjorn Munch's avatar Bjorn Munch

avoid regexp warning after 46625

parents e2e81155 1cfe27ba
...@@ -3257,7 +3257,7 @@ sub run_testcase ($) { ...@@ -3257,7 +3257,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");
} }
......
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