summaryrefslogtreecommitdiff
path: root/pygments/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/util.py')
-rw-r--r--pygments/util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/util.py b/pygments/util.py
index 8032962d..6a7be911 100644
--- a/pygments/util.py
+++ b/pygments/util.py
@@ -8,9 +8,10 @@
:license: BSD, see LICENSE for details.
"""
-import re
from io import TextIOWrapper
+import regex as re
+
split_path_re = re.compile(r'[/\\ ]')
doctype_lookup_re = re.compile(r'''