* [task#126318 Fix bug on import case.
This commit is contained in:
@@ -316,9 +316,9 @@ class caselibZen extends caselib
|
||||
$step = trim($step);
|
||||
if(empty($step)) continue;
|
||||
|
||||
preg_match('/^((([0-9]+)[.]([0-9]+))[.]([0-9]+))[.、](.*)$/U', $step, $out);
|
||||
if(!$out) preg_match('/^(([0-9]+)[.]([0-9]+))[.、](.*)$/U', $step, $out);
|
||||
if(!$out) preg_match('/^([0-9]+)[.、](.*)$/U', $step, $out);
|
||||
preg_match('/^((([0-9]+)[.]([0-9]+))[.]([0-9]+))[.、](.*)$/Uu', $step, $out);
|
||||
if(!$out) preg_match('/^(([0-9]+)[.]([0-9]+))[.、](.*)$/Uu', $step, $out);
|
||||
if(!$out) preg_match('/^([0-9]+)[.、](.*)$/Uu', $step, $out);
|
||||
if($out)
|
||||
{
|
||||
$count = count($out);
|
||||
|
||||
@@ -1518,9 +1518,9 @@ class testcaseModel extends model
|
||||
$trimmedStep = trim($step);
|
||||
if(empty($trimmedStep)) continue;
|
||||
|
||||
preg_match('/^((([0-9]+)[.]([0-9]+))[.]([0-9]+))[.、](.*)$/U', $trimmedStep, $out);
|
||||
if(!$out) preg_match('/^(([0-9]+)[.]([0-9]+))[.、](.*)$/U', $trimmedStep, $out);
|
||||
if(!$out) preg_match('/^([0-9]+)[.、](.*)$/U', $trimmedStep, $out);
|
||||
preg_match('/^((([0-9]+)[.]([0-9]+))[.]([0-9]+))[.、](.*)$/Uu', $trimmedStep, $out);
|
||||
if(!$out) preg_match('/^(([0-9]+)[.]([0-9]+))[.、](.*)$/Uu', $trimmedStep, $out);
|
||||
if(!$out) preg_match('/^([0-9]+)[.、](.*)$/Uu', $trimmedStep, $out);
|
||||
if($out)
|
||||
{
|
||||
$count = count($out);
|
||||
|
||||
@@ -2732,9 +2732,9 @@ class testcaseZen extends testcase
|
||||
$step = trim($step);
|
||||
if(empty($step)) continue;
|
||||
|
||||
preg_match('/^((([0-9]+)[.]([0-9]+))[.]([0-9]+))[.、](.*)$/U', $step, $out);
|
||||
if(!$out) preg_match('/^(([0-9]+)[.]([0-9]+))[.、](.*)$/U', $step, $out);
|
||||
if(!$out) preg_match('/^([0-9]+)[.、](.*)$/U', $step, $out);
|
||||
preg_match('/^((([0-9]+)[.]([0-9]+))[.]([0-9]+))[.、](.*)$/Uu', $step, $out);
|
||||
if(!$out) preg_match('/^(([0-9]+)[.]([0-9]+))[.、](.*)$/Uu', $step, $out);
|
||||
if(!$out) preg_match('/^([0-9]+)[.、](.*)$/Uu', $step, $out);
|
||||
if($out)
|
||||
{
|
||||
$count = count($out);
|
||||
|
||||
Reference in New Issue
Block a user