X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fsieve%2Fclass_semantics.inc;h=1c00051c052bb1f477b3eead6c19f9433e7ce445;hb=0d96e184dc6107bff6f32f24b4cda64ddd01c35a;hp=44a376829a136d25652eb4f64cdc432965859929;hpb=cdf7a53cf05d87eb2a5919361e9c24065a85c62a;p=gosa.git diff --git a/include/sieve/class_semantics.inc b/include/sieve/class_semantics.inc index 44a376829..1c00051c0 100644 --- a/include/sieve/class_semantics.inc +++ b/include/sieve/class_semantics.inc @@ -141,7 +141,7 @@ class Semantics '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') )) ) ); @@ -195,7 +195,7 @@ class Semantics 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') )) ) ); @@ -456,8 +456,8 @@ class Semantics // 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; @@ -610,4 +610,4 @@ class Semantics } } -?> \ No newline at end of file +?>