Module textredux.util.matcher

The matcher module provides easy and advanced matching of strings.

Functions

_matchers_for_search (search_string) Creates matches for the specified search


Functions

_matchers_for_search (search_string)
Creates matches for the specified search

Parameters:

  • search_string The search string

Returns:

    A table of matcher functions, each taking a line as parameter and returning a score (or nil for no match).