summaryrefslogtreecommitdiff
path: root/pygments/scanner.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/scanner.py')
-rw-r--r--pygments/scanner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/scanner.py b/pygments/scanner.py
index d47ed482..bdb9d2fa 100644
--- a/pygments/scanner.py
+++ b/pygments/scanner.py
@@ -14,7 +14,8 @@
:copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-import re
+
+import regex as re
class EndOfText(RuntimeError):