aboutsummaryrefslogtreecommitdiffstats
path: root/main/ast_expr2.fl
diff options
context:
space:
mode:
Diffstat (limited to 'main/ast_expr2.fl')
-rw-r--r--main/ast_expr2.fl3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/ast_expr2.fl b/main/ast_expr2.fl
index 723eebf5a..c926913e8 100644
--- a/main/ast_expr2.fl
+++ b/main/ast_expr2.fl
@@ -133,6 +133,7 @@ static char *expr2_token_subst(const char *mess);
\&\& { SET_COLUMNS; SET_STRING; return TOK_AND;}
\=\= { SET_COLUMNS; SET_STRING; return TOK_EQ;}
\=~ { SET_COLUMNS; SET_STRING; return TOK_EQTILDE;}
+\~~ { SET_COLUMNS; SET_STRING; return TOK_TILDETILDE;}
\> { SET_COLUMNS; SET_STRING; return TOK_GT;}
\< { SET_COLUMNS; SET_STRING; return TOK_LT;}
\>\= { SET_COLUMNS; SET_STRING; return TOK_GE;}
@@ -173,7 +174,7 @@ static char *expr2_token_subst(const char *mess);
return TOKEN;
}
-([a-zA-Z0-9\.';\\_^$#@]|[\x80-\xff])+ {
+([a-zA-Z0-9\.';\\_^#@]|[\x80-\xff]|($[^{]))+ {
SET_COLUMNS;
SET_STRING;
return TOKEN;