summaryrefslogtreecommitdiff
path: root/jsonpath_rw/lexer.py
diff options
context:
space:
mode:
Diffstat (limited to 'jsonpath_rw/lexer.py')
-rw-r--r--jsonpath_rw/lexer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonpath_rw/lexer.py b/jsonpath_rw/lexer.py
index b85b425..aa28ff5 100644
--- a/jsonpath_rw/lexer.py
+++ b/jsonpath_rw/lexer.py
@@ -61,7 +61,7 @@ class JsonPathLexer(object):
t_ignore = ' \t'
def t_ID(self, t):
- r'[a-zA-Z_@#][a-zA-Z0-9_@\-]*'
+ r'[a-zA-Z_@][a-zA-Z0-9_@\-]*'
t.type = self.reserved_words.get(t.value, 'ID')
return t