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/util.py | |
| parent | cffc5df62c258ca39fc7474f7197f2df33ab014f (diff) | |
| download | pygments-git-regex.tar.gz | |
all: convert "re" to "regex"regex
Diffstat (limited to 'pygments/util.py')
| -rw-r--r-- | pygments/util.py | 3 |
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''' |
