diff options
Diffstat (limited to 'pygments/lexers/templates.py')
-rw-r--r-- | pygments/lexers/templates.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py index 2c3feaac..83c57db8 100644 --- a/pygments/lexers/templates.py +++ b/pygments/lexers/templates.py @@ -1838,8 +1838,8 @@ class HandlebarsLexer(RegexLexer): (r'(lookup)(\s+)(\.|this)(\s+)', bygroups(Keyword, Text, Name.Variable, Text)), - (r'(lookup)(\s+)([^\s]+)', bygroups(Keyword, Text, - using(this, state='variable'))), + (r'(lookup)(\s+)(\S+)', bygroups(Keyword, Text, + using(this, state='variable'))), (r'[\w-]+', Name.Function), include('generic'), |