diff --git a/edn_format/edn_lex.py b/edn_format/edn_lex.py index f84c20f..8dfb886 100644 --- a/edn_format/edn_lex.py +++ b/edn_format/edn_lex.py @@ -256,7 +256,7 @@ def t_INTEGER(t): def t_HEX_INTEGER(t): - r"""[+-]?0x[A-F0-9]+""" + r"""[+-]?0x[0-9A-Fa-f]+""" t.value = int(t.value, 16) return t