summaryrefslogtreecommitdiff
path: root/pygments/lexers/other.py
diff options
context:
space:
mode:
authorOldes <oldes.huhuman@gmail.com>2014-04-29 17:36:03 +0200
committerOldes <oldes.huhuman@gmail.com>2014-04-29 17:36:03 +0200
commit34ad3ac21c212344fe90d8d66f0b694a49f74e29 (patch)
tree3f4fd5227f79ded81d94bd874e57685e7bc7a951 /pygments/lexers/other.py
parentd73eabb34ccee57f0a5f05f978335b50ed0a73fb (diff)
downloadpygments-34ad3ac21c212344fe90d8d66f0b694a49f74e29.tar.gz
Added missing possible space inside binary datatype and added some binary tests into example code.
Diffstat (limited to 'pygments/lexers/other.py')
-rw-r--r--pygments/lexers/other.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/other.py b/pygments/lexers/other.py
index 0892dd75..4e257f1d 100644
--- a/pygments/lexers/other.py
+++ b/pygments/lexers/other.py
@@ -4320,7 +4320,7 @@ class RedLexer(RegexLexer):
'script': [
(r'\s+', Text),
(r'#"', String.Char, 'char'),
- (r'#{[0-9a-fA-F]*}', Number.Hex),
+ (r'#{[0-9a-fA-F\s]*}', Number.Hex),
(r'2#{', Number.Hex, 'bin2'),
(r'64#{[0-9a-zA-Z+/=\s]*}', Number.Hex),
(r'([0-9a-fA-F]+)(h)((\s)|(?=[\[\]{}""\(\)]))', bygroups(Number.Hex, Name.Variable, Whitespace)),