summaryrefslogtreecommitdiff
path: root/src/core/wee-eval.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-04-04 16:52:12 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-04-04 16:52:12 +0200
commit37144535a55f5e06b3a1f92f11758db6ba8e39c7 (patch)
treebe5b228ac8a23a5206d72aab015a9a171411623f /src/core/wee-eval.h
parente143518e4becad620741f2ed53ca399ff21ad5e1 (diff)
downloadweechat-37144535a55f5e06b3a1f92f11758db6ba8e39c7.zip
core: fix evaluation of expression with regex when a comparison char is in the regex
Diffstat (limited to 'src/core/wee-eval.h')
-rw-r--r--src/core/wee-eval.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/wee-eval.h b/src/core/wee-eval.h
index 98c7957bf..5f0ae7202 100644
--- a/src/core/wee-eval.h
+++ b/src/core/wee-eval.h
@@ -35,14 +35,14 @@ enum t_eval_logical_op
enum t_eval_comparison
{
- EVAL_COMPARE_EQUAL = 0,
+ EVAL_COMPARE_REGEX_MATCHING = 0,
+ EVAL_COMPARE_REGEX_NOT_MATCHING,
+ EVAL_COMPARE_EQUAL,
EVAL_COMPARE_NOT_EQUAL,
EVAL_COMPARE_LESS_EQUAL,
EVAL_COMPARE_LESS,
EVAL_COMPARE_GREATER_EQUAL,
EVAL_COMPARE_GREATER,
- EVAL_COMPARE_REGEX_MATCHING,
- EVAL_COMPARE_REGEX_NOT_MATCHING,
/* number of comparison strings */
EVAL_NUM_COMPARISONS,
};