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