Logo Search packages:      
Sourcecode: zope-managableindex version File versions  Download package

def ManagableIndex::ManagableIndex::ManagableIndex::matchFilterRegexp (   self,

see 'matchRegexp' but for filtering.

Definition at line 210 of file ManagableIndex.py.

00210                                      :
    '''see 'matchRegexp' but for filtering.'''
    termType = self._matchType or self.TermType
    if termType == 'string': regexp = str(regexp)
    elif termType == 'ustring': regexp = unicode(regexp)
    elif termType == 'asis': pass
    else: raise ValueError(
      "Index %s has 'TermType/MatchType' %s not supporting glob/regexp expansion"
      % (self.id, termType)
    return compile(regexp).match

  ## Responsibilities from 'PluggableIndexInterface'

Generated by  Doxygen 1.6.0   Back to index