summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/token.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/token.h b/src/token.h
index 6e8de708..abadb75e 100644
--- a/src/token.h
+++ b/src/token.h
@@ -51,7 +51,7 @@ struct expr_t::token_t : public noncopyable
enum kind_t {
ERROR, // an error occurred while tokenizing
VALUE, // any kind of literal value
- IDENT, // [A-Za-z_][-A-Za-z0-9_:]*
+ IDENT, // [A-Za-z_]+
MASK, // /regexp/
LPAREN, // (