GetRanges Method (String, RegexOptions)

Fast Colored Text Box

Collapse imageExpand ImageCopy imageCopyHover image
Finds ranges for given regex pattern

Namespace: FastColoredTextBoxNS
Assembly: FastColoredTextBox (in FastColoredTextBox.dll) Version: 2.9.3.0 (2.9.3.0)

Syntax

C#
public IEnumerable<Range> GetRanges(
	string regexPattern,
	RegexOptions options
)
Visual Basic
Public Function GetRanges ( _
	regexPattern As String, _
	options As RegexOptions _
) As IEnumerable(Of Range)
Visual C++
public:
IEnumerable<Range^>^ GetRanges(
	String^ regexPattern, 
	RegexOptions options
)

Parameters

regexPattern
Type: System..::..String
Regex pattern
options
Type: System.Text.RegularExpressions..::..RegexOptions

Return Value

Enumeration of ranges

See Also