コード例 #1
0
 /// <summary>Find the best approximate match for <paramref name="pattern"/> in <paramref name="text"/></summary>
 /// <param name="cReplace">Cost of replace operation. Default is 1.</param>
 /// <param name="cInsert">Cost of insert operation. Default is 1.</param>
 /// <param name="cDelete">Cost of delete operation. Default is 1.</param>
 public static StrMatch Find(this string text, string pattern, int cReplace, int cInsert, int cDelete) => StringMatching.Find(text, pattern, cReplace, cInsert, cDelete);
コード例 #2
0
 /// <summary>Find the best approximate match for <paramref name="pattern"/> in <paramref name="text"/></summary>
 public static StrMatch Find(this string text, string pattern) => StringMatching.Find(text, pattern);