mirror of https://github.com/jesopo/ircrobots
_collapse(s) was moved to collapse(s)
This commit is contained in:
parent
7e575d733e
commit
4152f4d281
|
@ -51,4 +51,4 @@ class Glob(object):
|
||||||
def match(self, s: str) -> bool:
|
def match(self, s: str) -> bool:
|
||||||
return _match(self._pattern, s)
|
return _match(self._pattern, s)
|
||||||
def compile(pattern: str) -> Glob:
|
def compile(pattern: str) -> Glob:
|
||||||
return Glob(_collapse(pattern))
|
return Glob(collapse(pattern))
|
||||||
|
|
Loading…
Reference in New Issue