index 44a376829a136d25652eb4f64cdc432965859929..1c00051c052bb1f477b3eead6c19f9433e7ce445 100644 (file)
'valid_after' => $this->nonTestCommands_,
'arguments' => array(
array('class' => 'string', 'occurrences' => '1', 'values' => array(
'valid_after' => $this->nonTestCommands_,
'arguments' => array(
array('class' => 'string', 'occurrences' => '1', 'values' => array(
- array('occurrences' => '1', 'regex' => '".*"', 'name' => 'reason')
+ array('occurrences' => '1', 'regex' => '("|).*("|)', 'name' => 'reason')
))
)
);
))
)
);
array('occurrences' => '?', 'regex' => ':mime', 'name' => 'mime')
)),
array('class' => 'string', 'occurrences' => '1', 'values' => array(
array('occurrences' => '?', 'regex' => ':mime', 'name' => 'mime')
)),
array('class' => 'string', 'occurrences' => '1', 'values' => array(
- array('occurrences' => '1', 'regex' => '".*"', 'name' => 'reason')
+ array('occurrences' => '1', 'regex' => '.*', 'name' => 'reason')
))
)
);
))
)
);
// Check if command may appear here
if (!ereg($this->s_['valid_after'], $prev))
{
// Check if command may appear here
if (!ereg($this->s_['valid_after'], $prev))
{
- $this->message = 'line '. $line .': "'. $this->command_ .'" may not appear after "'. $prev .'"';
- return false;
+# $this->message = 'line '. $line .': "'. $this->command_ .'" may not appear after "'. $prev .'"';
+# return false;
}
return true;
}
return true;
}
}
}
}
-?>
\ No newline at end of file
+?>