diff options
author | Georg Brandl <georg@python.org> | 2014-09-20 00:09:30 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-09-20 00:09:30 +0200 |
commit | 33cb0a84a19b4e96d694eb99b490346f20e315d7 (patch) | |
tree | 7009a60fbcfe98986981a436114674cd3585b38a /pygments/lexers/php.py | |
parent | 3aa632c6c357746459a8847feb056cc3c86db93c (diff) | |
parent | 85a6928f75b68259c7a144cfb830986fafb53fcb (diff) | |
download | pygments-33cb0a84a19b4e96d694eb99b490346f20e315d7.tar.gz |
Merged in whatthejeff/pygments-main (pull request #382)
Diffstat (limited to 'pygments/lexers/php.py')
-rw-r--r-- | pygments/lexers/php.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/php.py b/pygments/lexers/php.py index 90496d42..632ac9e0 100644 --- a/pygments/lexers/php.py +++ b/pygments/lexers/php.py @@ -137,7 +137,7 @@ class PhpLexer(RegexLexer): ], 'php': [ (r'\?>', Comment.Preproc, '#pop'), - (r'<<<(\'?)(' + _ident_inner + ')\1\n.*?\n\2\;?\n', String), + (r'<<<([\'"]?)(' + _ident_inner + r')\1\n.*?\n\2\;?\n', String), (r'\s+', Text), (r'#.*?\n', Comment.Single), (r'//.*?\n', Comment.Single), |