diff options
author | Yannick Loiseau <me@yloiseau.net> | 2014-04-04 20:01:39 +0200 |
---|---|---|
committer | Yannick Loiseau <me@yloiseau.net> | 2014-04-04 20:01:39 +0200 |
commit | a9ec1faa58cf3511f4e4fd3580141473aaddf033 (patch) | |
tree | cfbcd3e0a0b1fe168841d93373cea4ad044efb72 /pygments/lexers/golo.py | |
parent | 9d0cb48abbf09b6567c6f09560110e99b836237f (diff) | |
download | pygments-a9ec1faa58cf3511f4e4fd3580141473aaddf033.tar.gz |
correct bug on single quoted string
Diffstat (limited to 'pygments/lexers/golo.py')
-rw-r--r-- | pygments/lexers/golo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/golo.py b/pygments/lexers/golo.py index a661493a..64c704fe 100644 --- a/pygments/lexers/golo.py +++ b/pygments/lexers/golo.py @@ -95,7 +95,7 @@ class GoloLexer(RegexLexer): (r'[a-zA-Z_][a-z$A-Z0-9_]*', Name.Variable, '#pop'), ], 'string': [ - (r'[^\\\"\n]+', String), + (r'[^\\\'"\n]+', String), (r'[\'"\\]', String) ], 'stringescape': [ |