Browse files

Merge pull request #46 from taybin/patch-1

Fix parsing hex values
  • Loading branch information...
2 parents cbe7ee0 + 0dabaaf commit 653066f6f78e354fdad07d13350956394ef71477 @seancribbs seancribbs committed Mar 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/protobuffs_scanner.xrl
View
2 src/protobuffs_scanner.xrl
@@ -2,7 +2,7 @@ Definitions.
L = [A-Za-z_\.]
D = [0-9]
F = (\+|-)?[0-9]+\.[0-9]+((E|e)(\+|-)?[0-9]+)?
-HEX = 0x[0-9]+
+HEX = 0x[0-9A-Fa-f]+
WS = ([\000-\s]|%.*)
S = [\(\)\]\[\{\};=]

0 comments on commit 653066f

Please sign in to comment.