def match(self, string, pos):
        '''string is of course a py string'''
        return self.pat.match(string, int(pos))
def match(self, string, pos):
        '''string is of course a py string'''
        return self.pat.match(string, int(pos))
def match ( self , string , pos ) : return self . pat . match ( string , int ( pos ) )
string is of course a py string
string is of course a py string