Revert "Move glob_to_regex and re_word_boundary to matrix-python-common (#11505) (#11527)

This reverts commit a77c369897.
This commit is contained in:
Sean Quah 2021-12-07 13:51:11 +00:00 committed by GitHub
parent 14d593f72d
commit 088d748f2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 124 additions and 12 deletions

View file

@ -28,7 +28,6 @@ from typing import (
Union,
)
from matrix_common.regex import glob_to_regex
from prometheus_client import Counter, Gauge, Histogram
from twisted.internet import defer
@ -67,7 +66,7 @@ from synapse.replication.http.federation import (
)
from synapse.storage.databases.main.lock import Lock
from synapse.types import JsonDict, get_domain_from_id
from synapse.util import json_decoder, unwrapFirstError
from synapse.util import glob_to_regex, json_decoder, unwrapFirstError
from synapse.util.async_helpers import Linearizer, concurrently_execute
from synapse.util.caches.response_cache import ResponseCache
from synapse.util.stringutils import parse_server_name