RegexRunner.Scan Method (Regex, String, Int32, Int32, Int32, Int32, Boolean)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Used by a Regex object generated by the CompileToAssembly method.

Namespace:   System.Text.RegularExpressions
Assembly:  System (in System.dll)

Protected Friend Function Scan (
	regex As Regex,
	text As String,
	textbeg As Integer,
	textend As Integer,
	textstart As Integer,
	prevlen As Integer,
	quick As Boolean
) As Match

Parameters

regex
Type: System.Text.RegularExpressions.Regex

An instance of the regular expression engine.

text
Type: System.String

The text to scan for a pattern match.

textbeg
Type: System.Int32

The zero-based starting position in text at which the regular expression engine scans for a match.

textend
Type: System.Int32

The zero-based ending position in text at which the regular expression engine scans for a match.

textstart
Type: System.Int32

The zero-based starting position to scan for this match.

prevlen
Type: System.Int32

The number of characters in the previous match.

quick
Type: System.Boolean

true to search for a match in quick mode; otherwise, false.

Return Value

Type: System.Text.RegularExpressions.Match

A match.

.NET Framework
Available since 1.1
Return to top
Show: