diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/python/pathaddition.match-module.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/python/pathaddition.match-module.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,226 @@ + + + + + pathaddition.match + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package pathaddition :: + Module match + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Module match

source code

+This module provides support for Ant-style wildcards, +which are not the same as regular expressions (which are documented in the re module).

+ + + + + + + + + + + + + +
+ + + + + +
Functions[hide private]
+
+   + + + + + + +
ant_match(name, + pattern, + casesensitive=True)
+ Check if name matches pattern (Ant-style wildcards).
+ source code + +
+ +
+   + + + + + + +
translate(pat)
+ Translate a Ant-style PATTERN to a regular expression.
+ source code + +
+ +
+ + + + + + + + + + + + +
+ + + + + +
Variables[hide private]
+
+   + + _logger = logging.getLogger('path.match') +
+   + + _cache = {} +
+ + + + + + +
+ + + + + +
Function Details[hide private]
+
+ +
+ +
+ + +
+

translate(pat) +

+
source code  +
+ +

Translate a Ant-style PATTERN to a regular expression.

+

There is no way to quote meta-characters.

+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +