test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
pathToRegEx Namespace Reference

Functions

def pathsToRegEx
 
def pathToRegEx
 

Variables

string __author__ = "Aurelija"
 
string __date__ = "$2010-08-25 11.18.53$"
 

Function Documentation

def pathToRegEx.pathsToRegEx (   Paths)

Definition at line 7 of file pathToRegEx.py.

Referenced by filesFinder.getFilePathsFromWalk().

7 
8 def pathsToRegEx(Paths):
9  paths = []
10  for path in Paths:
11  path = pathToRegEx(path)
12  paths.append(path)
13  return paths
def pathsToRegEx
Definition: pathToRegEx.py:7
def pathToRegEx.pathToRegEx (   path)

Definition at line 14 of file pathToRegEx.py.

14 
15 def pathToRegEx(path):
16  path = path.replace("\\", "\\\\")
17  path = "\A%s$" %path
18  path = path.replace(".", "\.")
19  path = path.replace("*",".*")
20  return path
def pathToRegEx
Definition: pathToRegEx.py:14

Variable Documentation

string pathToRegEx.__author__ = "Aurelija"

Definition at line 4 of file pathToRegEx.py.

string pathToRegEx.__date__ = "$2010-08-25 11.18.53$"

Definition at line 5 of file pathToRegEx.py.