diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-11-07 14:53:08 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-11-07 14:53:08 +0000 |
commit | c2b5e6cf434dac91772ab814fa8c408d50417175 (patch) | |
tree | dbaff90694f36168787a90bb7a5f19db193e32ee /lib/sbin/parameter_parser.pl | |
parent | 8b940de7a1d3d2cf9f686e1fa151c8353d641864 (diff) |
Allow comparison operators in accumulator expressions.
Add the ! not operator to accumulator expressions.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3454 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/parameter_parser.pl')
-rw-r--r-- | lib/sbin/parameter_parser.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbin/parameter_parser.pl b/lib/sbin/parameter_parser.pl index a3b74db9..2ea61d62 100644 --- a/lib/sbin/parameter_parser.pl +++ b/lib/sbin/parameter_parser.pl @@ -754,7 +754,7 @@ sub CheckExpression my ($expression) = @_; my $retcode; - if($expression =~ m,^[-\d/*()+xy^]+$, && + if($expression =~ m,^[-\d/*()+xy^!<>=]+$, && $expression =~ m/\bx\b/ && $expression =~ m/\by\b/ && $expression !~ m/\wx/ && |