/// <summary> /// Initializes a new instance of the AhoMatcher class for the /// specified patterns. /// </summary> /// <param name="patterns">The patterns to search for in text.</param> public AhoMatcher(List<string> patterns) { _machine = new Trie(patterns); }
/// <summary> /// Initializes a new instance of the AhoMatcher class for the /// specified patterns. /// </summary> /// <param name="patterns">The patterns to search for in text.</param> public AhoMatcher(List <string> patterns) { _machine = new Trie(patterns); }