summaryrefslogtreecommitdiff
path: root/pygments/lexers/jvm.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-02-14 17:10:00 +0100
committerGeorg Brandl <georg@python.org>2016-02-14 17:10:00 +0100
commitfff7caebc1befe71ab088a5d245fbb7708cfc0f2 (patch)
tree346052a8c49dd99ab7dc5abbdc603cc3717308c9 /pygments/lexers/jvm.py
parent2882c34a141f4f36ded54d1473c6d4f73684ffc7 (diff)
downloadpygments-fff7caebc1befe71ab088a5d245fbb7708cfc0f2.tar.gz
Fix most complaints from regexlint.
Diffstat (limited to 'pygments/lexers/jvm.py')
-rw-r--r--pygments/lexers/jvm.py4
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)