Variable TextSearchEngineConst

TextSearchEngine: {
    search(query, data) => Promise<ISearchMatch[]>;
}

Search provider for text/plain

Type declaration

  • search:function
    • Search for regular expression matches in a string.

      Parameters

      • query: RegExp

        Query regular expression

      • data: string

        String to look into

      Returns Promise<ISearchMatch[]>

      List of matches

Generated using TypeDoc