diff options
| author | Georg Brandl <georg@python.org> | 2022-10-27 07:18:16 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2022-10-27 12:15:22 +0200 |
| commit | 629c448bdcbd7ca9f5d530c0ef10fa3bcd7ccbff (patch) | |
| tree | 0d16b78a78b188e1f3ef28746b87ada37bdd804e /pygments/scanner.py | |
| parent | cffc5df62c258ca39fc7474f7197f2df33ab014f (diff) | |
| download | pygments-git-regex.tar.gz | |
all: convert "re" to "regex"regex
Diffstat (limited to 'pygments/scanner.py')
| -rw-r--r-- | pygments/scanner.py | 3 |
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): |
