Click or drag to resize

fileTextOperaterSearch Method (IEnumerableString, Boolean, RegexOptions, Int32)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Search file with multiple needles - performs search with multiple needles.

Namespace:  imbSCI.Core.files.search
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public fileTextSearchResultSet Search(
	IEnumerable<string> __needles,
	bool useRegex = false,
	RegexOptions regexOptions = RegexOptions.None,
	int limitResult = -1
)
Request Example View Source

Parameters

__needles
Type: System.Collections.GenericIEnumerableString
Set of needles or regex expressions to evaluate lines with
useRegex (Optional)
Type: SystemBoolean
if set to true it will interpret the needle as regex
regexOptions (Optional)
Type: System.Text.RegularExpressionsRegexOptions
The regex options, used in combination with useRegex = true
limitResult (Optional)
Type: SystemInt32
Result size limit (per needle) - it stops the search procedure once the limit is reached. Leave it -1 to disable the limit

Return Value

Type: fileTextSearchResultSet
Set of results
See Also