fix regex (#2643)
This commit is contained in:
parent
db2715441a
commit
17e42cb94b
@ -31,7 +31,7 @@
|
||||
|
||||
import click
|
||||
import pytest
|
||||
import regex as re
|
||||
import re
|
||||
from click import unstyle
|
||||
from click.testing import CliRunner
|
||||
from pathspec import PathSpec
|
||||
@ -70,7 +70,7 @@
|
||||
R = TypeVar("R")
|
||||
|
||||
# Match the time output in a diff, but nothing else
|
||||
DIFF_TIME = re.compile(r"\t[\d-:+\. ]+")
|
||||
DIFF_TIME = re.compile(r"\t[\d\-:+\. ]+")
|
||||
|
||||
|
||||
@contextmanager
|
||||
|
Loading…
Reference in New Issue
Block a user