FuzzySearch
Provides a method to match query text using a fuzzy search algorithm.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static class FuzzySearch
Remarks
This utility class implements the text search functions using approximate string matching (fuzzy search). Search for a text pattern in a given string. If there is a match, get the match score. Get the indices in the string where the pattern was found.
See FuzzyMatch for a complete example.
Static Methods
Method | Description |
|---|---|
| FuzzyMatch | Performs a fuzzy search for a pattern on a string. |