Logo Search packages:      
Sourcecode: rapid-spring version File versions  Download package

def rapid::main::TextUserInteraction::_select_core (   self,
  needle,
  haystack 
) [private]
Override/patch this to implement other search strategy.
This variant implements a simple case-insensitive substring search.

Definition at line 49 of file main.py.

                                              :
            """ Override/patch this to implement other search strategy.
            This variant implements a simple case-insensitive substring search."""
            n = needle.lower()
            return filter(lambda s: n in str(s).lower(), haystack)


Generated by  Doxygen 1.6.0   Back to index