diff --git a/ICSharpCode.AvalonEdit/Highlighting/Resources/Json.xshd b/ICSharpCode.AvalonEdit/Highlighting/Resources/Json.xshd index e6fe08f0..05f6e3c5 100644 --- a/ICSharpCode.AvalonEdit/Highlighting/Resources/Json.xshd +++ b/ICSharpCode.AvalonEdit/Highlighting/Resources/Json.xshd @@ -10,7 +10,7 @@ - + @@ -22,27 +22,28 @@ ' ' - + : + , - - , - + + , + - - - , - + + + , + - + true false - + null @@ -62,11 +63,22 @@ \] - \b0[xX][0-9a-fA-F]+|(\b\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)? + -? \b + (?: + 0[xX][0-9a-fA-F]+ + | + (?: + + [0-9]+ (?: \. [0-9]+ )? + | + \. [0-9]+ + ) + (?: [eE] [+-]? [0-9]+ )? + ) - + - \ No newline at end of file +