mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-18 16:02:15 +01:00
pep8
This commit is contained in:
parent
6748f0a579
commit
cbe3c3fdd4
1 changed files with 1 additions and 0 deletions
|
@ -201,6 +201,7 @@ def _glob_to_re(glob, word_boundary):
|
||||||
r = "^" + re.escape(glob) + "$"
|
r = "^" + re.escape(glob) + "$"
|
||||||
return re.compile(r, flags=re.IGNORECASE)
|
return re.compile(r, flags=re.IGNORECASE)
|
||||||
|
|
||||||
|
|
||||||
def _re_word_boundary(r):
|
def _re_word_boundary(r):
|
||||||
"""
|
"""
|
||||||
Adds word boundary characters to the start and end of an
|
Adds word boundary characters to the start and end of an
|
||||||
|
|
Loading…
Reference in a new issue