diff options
author | Doug <pyos100500@gmail.com> | 2012-10-11 21:08:06 +0400 |
---|---|---|
committer | Doug <pyos100500@gmail.com> | 2012-10-11 21:08:06 +0400 |
commit | 0a24af81d3fe287eb87c6967dcc0c11cc2197515 (patch) | |
tree | 2c7cc421f6052fecb69647668612cc16c15bfacd | |
parent | 36fafec4e15b2892b1636a5662ff5778d3faeaec (diff) | |
download | pygments-0a24af81d3fe287eb87c6967dcc0c11cc2197515.tar.gz |
Put triple-quoted string regex before single-quoted ones.
-rw-r--r-- | pygments/lexers/agile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py index 33f2ee4c..04f11a40 100644 --- a/pygments/lexers/agile.py +++ b/pygments/lexers/agile.py @@ -1842,10 +1842,10 @@ class DgLexer(RegexLexer): (r'[+-]?\d+\.\d+([eE][+-]?\d+)?', Number.Float), (r'[+-]?\d+(\.\d+)?([eE][+-]?\d+)?[jJ]', Number.Complex), # Character/String Literals - (r"[br]*'", String, combined('stringescape', 'sqs', 'string')), - (r'[br]*"', String, combined('stringescape', 'dqs', 'string')), (r"[br]*'''", String, combined('stringescape', 'tsqs', 'string')), (r'[br]*"""', String, combined('stringescape', 'tdqs', 'string')), + (r"[br]*'", String, combined('stringescape', 'sqs', 'string')), + (r'[br]*"', String, combined('stringescape', 'dqs', 'string')), # Operators (r"`\w+'*`", Operator), # Infix links # Reserved infix links |