Skip to content

Commit

Permalink
sublime syntax - improve numbers syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nyx0 committed May 25, 2018
1 parent 47e8c5a commit 91dbab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yara.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ contexts:
scope: keyword.control.yara

numbers:
- match: '\b(-)?[0-9.]+\b'
- match: '\b((0(x|X)[0-9a-fA-F]*(\.[0-9a-fA-F]+p-?\d+)?)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)([fF]|(l{1,2}|L{1,2})[uU]?|[uU](l{0,2}|L{0,2}))?\b'
scope: constant.numeric.yara

strings:
Expand Down

0 comments on commit 91dbab4

Please sign in to comment.