public class SearchOptions
Text search settings. Auto encoding detects Unicode BOMs, otherwise UTF-8. Specify a legacy charset explicitly; availability depends on the OS converter. Files and lines are streamed, but the collecting overload stores its results. Example: options = SearchOptions(); options.smartCase = true
| Modifier and Type | Member | Description |
|---|---|---|
| public | caseSensitivecaseSensitive as Boolean = true |
Case-sensitive matching by default. |
| public | encodingencoding as String = "auto" |
Charset name, or auto for BOM detection then UTF-8. |
| public | excludes | Exclude globs applied before descent; clear to include default excluded folders. |
| public | includeHiddenincludeHidden as Boolean = false |
Skip dot-prefixed entries, except .gitignore loading. |
| public | includes | File include globs, relative to the root; empty accepts all. |
| public | maxTotalMatchesmaxTotalMatches as ULong = 0ul |
Global result limit; zero is unlimited. |
| public | regexregex as Boolean = false |
Use a regular expression instead of literal text. |
| public | respectGitignorerespectGitignore as Boolean = true |
Honor nested .gitignore files. |
| public | skipBinaryskipBinary as Boolean = true |
Skip NUL-containing files (except UTF-16/32) and malformed encoded input. |
| public | smartCasesmartCase as Boolean = false |
Ignore case unless the pattern contains uppercase. |
| public | workersworkers as UInt = 1u |
Worker count; one is deterministic depth-first traversal. |