7 rulesRegexpCompileFunction =
lambda x: ( len(x)==2
and (x[0], re.compile(x[1]))
or (x[0], re.compile(x[1]), x[2]) )
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.