Skip to content

get_match_count

esta.aide.get_match_count

read a file to get the counts of a matching string

get_mcount(fname=None, match=None) -> int

Parameters:

  • fname (str, default: None ) –

    name of the file

  • match (str, default: None ) –

    string to be found/match

Returns:

  • returns the counts of the matched string