diff options
-rw-r--r-- | pygments/lexers/jvm.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pygments/lexers/jvm.py b/pygments/lexers/jvm.py index 37b99f9a..7b422253 100644 --- a/pygments/lexers/jvm.py +++ b/pygments/lexers/jvm.py @@ -491,6 +491,8 @@ class GroovyLexer(RegexLexer): (r'(class|interface)(\s+)', bygroups(Keyword.Declaration, Text), 'class'), (r'(import)(\s+)', bygroups(Keyword.Namespace, Text), 'import'), + (r'""".*?"""', String.Double), + (r"'''.*?'''", String.Single), (r'"(\\\\|\\"|[^"])*"', String.Double), (r"'(\\\\|\\'|[^'])*'", String.Single), (r'\$/((?!/\$).)*/\$', String), |