diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-10-03 20:56:12 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-11-05 22:34:38 +0100 |
commit | 196a0511418a7a1f406db45d23abd4697ad7f905 (patch) | |
tree | 85cac7f2989f04222823f1910438bf40ea415907 /src/core/wee-eval.h | |
parent | bc2fb071e22589aa219ce551b0112bacbd3cca8f (diff) | |
download | weechat-196a0511418a7a1f406db45d23abd4697ad7f905.zip |
core: add range of chars in evaluation of expressions with `chars:xxx`
Diffstat (limited to 'src/core/wee-eval.h')
-rw-r--r-- | src/core/wee-eval.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/wee-eval.h b/src/core/wee-eval.h index 22ec58403..944390190 100644 --- a/src/core/wee-eval.h +++ b/src/core/wee-eval.h @@ -30,6 +30,13 @@ #define EVAL_RECURSION_MAX 32 +#define EVAL_RANGE_DIGIT "0123456789" +#define EVAL_RANGE_XDIGIT EVAL_RANGE_DIGIT "abcdefABCDEF" +#define EVAL_RANGE_LOWER "abcdefghijklmnopqrstuvwxyz" +#define EVAL_RANGE_UPPER "ABCDEFGHIJKLMNOPQRSTUVWXYZ" +#define EVAL_RANGE_ALPHA EVAL_RANGE_LOWER EVAL_RANGE_UPPER +#define EVAL_RANGE_ALNUM EVAL_RANGE_ALPHA EVAL_RANGE_DIGIT + struct t_hashtable; enum t_eval_logical_op |