Range.GetRangesByLines Method (String, RegexOptions)

T3000 CrossPlatform

RangeGetRangesByLines Method (String, RegexOptions)

[This is preliminary documentation and is subject to change.]

Finds ranges for given regex pattern. Search is separately in each line. This method requires less memory than GetRanges().

Namespace:  FastColoredTextBoxNS
Assembly:  FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.16.23.0 (2.16.23.0)
Syntax
public IEnumerable<Range> GetRangesByLines(
	string regexPattern,
	RegexOptions options
)
Public Function GetRangesByLines ( 
	regexPattern As String,
	options As RegexOptions
) As IEnumerable(Of Range)

Dim instance As Range
Dim regexPattern As String
Dim options As RegexOptions
Dim returnValue As IEnumerable(Of Range)

returnValue = instance.GetRangesByLines(regexPattern, 
	options)

Parameters

regexPattern
Type: SystemString
Regex pattern
options
Type: System.Text.RegularExpressionsRegexOptions

[Missing <param name="options"/> documentation for "M:FastColoredTextBoxNS.Range.GetRangesByLines(System.String,System.Text.RegularExpressions.RegexOptions)"]

Return Value

Type: IEnumerableRange
Enumeration of ranges
See Also