diff options
author | Georg Brandl <georg@python.org> | 2016-02-14 17:10:00 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2016-02-14 17:10:00 +0100 |
commit | fff7caebc1befe71ab088a5d245fbb7708cfc0f2 (patch) | |
tree | 346052a8c49dd99ab7dc5abbdc603cc3717308c9 /pygments/lexers/jvm.py | |
parent | 2882c34a141f4f36ded54d1473c6d4f73684ffc7 (diff) | |
download | pygments-fff7caebc1befe71ab088a5d245fbb7708cfc0f2.tar.gz |
Fix most complaints from regexlint.
Diffstat (limited to 'pygments/lexers/jvm.py')
-rw-r--r-- | pygments/lexers/jvm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/jvm.py b/pygments/lexers/jvm.py index 41fc0fdb..af7f8105 100644 --- a/pygments/lexers/jvm.py +++ b/pygments/lexers/jvm.py @@ -564,14 +564,14 @@ class IokeLexer(RegexLexer): ], 'slashRegexp': [ - (r'(?<!\\)/[oxpniums]*', String.Regex, '#pop'), + (r'(?<!\\)/[im-psux]*', String.Regex, '#pop'), include('interpolatableText'), (r'\\/', String.Regex), (r'[^/]', String.Regex) ], 'squareRegexp': [ - (r'(?<!\\)][oxpniums]*', String.Regex, '#pop'), + (r'(?<!\\)][im-psux]*', String.Regex, '#pop'), include('interpolatableText'), (r'\\]', String.Regex), (r'[^\]]', String.Regex) |