Click or drag to resize

fileTextOperaterSearch Method (String, Boolean, Int32, RegexOptions)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Searches lines with specified needle and returns resulting collection

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

Parameters

__needle
Type: SystemString
The needle to search for or regex expression to test lines against
useRegex (Optional)
Type: SystemBoolean
if set to true it will interpret the needle as regex
limitResult (Optional)
Type: SystemInt32
Result size limit - it stops the search procedure once the limit is reached. Leave it -1 to disable the limit
regexOptions (Optional)
Type: System.Text.RegularExpressionsRegexOptions
The regex options, used in combination with useRegex = true

Return Value

Type: fileTextSearchResult
See Also