diff options
author | Gaurav Jain <gaurav@gauravjain.org> | 2014-04-15 22:17:27 -0400 |
---|---|---|
committer | Gaurav Jain <gaurav@gauravjain.org> | 2014-04-15 22:17:27 -0400 |
commit | 524b58ffc841c5ce9de12a62a1a6082fc99eebf3 (patch) | |
tree | b36e3a75a982017c24ddffccbed935602688dad8 /pygments/lexers/other.py | |
parent | 84b7c8aca975566dde86fc90a23d49353e534265 (diff) | |
download | pygments-524b58ffc841c5ce9de12a62a1a6082fc99eebf3.tar.gz |
Added handling of escaped single quotes in Puppet files
Diffstat (limited to 'pygments/lexers/other.py')
-rw-r--r-- | pygments/lexers/other.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/other.py b/pygments/lexers/other.py index c308c884..227352d9 100644 --- a/pygments/lexers/other.py +++ b/pygments/lexers/other.py @@ -3391,7 +3391,7 @@ class PuppetLexer(RegexLexer): 'strings': [ (r'"([^"])*"', String), - (r'\'([^\'])*\'', String), + (r"'(\\'|[^'])*'", String), ], } |