summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2012-11-12 14:44:54 -0800
committerTim Hatch <tim@timhatch.com>2012-11-12 14:44:54 -0800
commit60f6c4a781b03dade3b0e58956ecefa4330e3e0e (patch)
tree90494de679c62f2bca3372cad1598c2bc81a9908
parent66e48fd9f75e2d64e80033ae2e36de7d24e69717 (diff)
downloadpygments-60f6c4a781b03dade3b0e58956ecefa4330e3e0e.tar.gz
Remove unnecessary regex flags
-rw-r--r--pygments/lexers/math.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py
index fb02162c..0e78bb49 100644
--- a/pygments/lexers/math.py
+++ b/pygments/lexers/math.py
@@ -1163,7 +1163,7 @@ class BugsLexer(RegexLexer):
include('comments'),
include('whitespace'),
# Block start
- (r'(?s)(model)(\s+)({)',
+ (r'(model)(\s+)({)',
bygroups(Keyword.Namespace, Text, Punctuation)),
# Reserved Words
(r'(for|in)(?![0-9a-zA-Z\._])', Keyword.Reserved),
@@ -1245,7 +1245,7 @@ class JagsLexer(RegexLexer):
include('comments'),
include('whitespace'),
# Block start
- (r'(?s)(model|data)(\s+)({)',
+ (r'(model|data)(\s+)({)',
bygroups(Keyword.Namespace, Text, Punctuation)),
(r'var(?![0-9a-zA-Z\._])', Keyword.Declaration),
# Reserved Words
@@ -1315,7 +1315,7 @@ class StanLexer(RegexLexer):
# block start
include('whitespace'),
# Block start
- (r'(?s)(%s)(\s*)({)' %
+ (r'(%s)(\s*)({)' %
r'|'.join(('data', r'transformed\s+?data',
'parameters', r'transformed\s+parameters',
'model', r'generated\s+quantities')),