Return True if this path matches the given glob-style pattern. The pattern is matched against the entire path.
>>> PurePath('a/b.py').full_match('a/*.py') True >>> PurePath('a/b.py').full_match('*.py') False >>> PurePath('/a/b/c.py').full_match('**/*.py') True >>> PurePath('/a/b/c.py').full_match('/a/**') True
pathlib/PurePath.full_match
PurePath.full_match