0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-18 16:02:15 +01:00
This commit is contained in:
David Baker 2017-10-05 11:43:10 +01:00
parent 6748f0a579
commit cbe3c3fdd4

View file

@ -201,6 +201,7 @@ def _glob_to_re(glob, word_boundary):
r = "^" + re.escape(glob) + "$"
return re.compile(r, flags=re.IGNORECASE)
def _re_word_boundary(r):
"""
Adds word boundary characters to the start and end of an