Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > GRegularExpression > Classes > TGRegularExpression > Methods

TGRegularExpression.Match(TRegExString,Integer,Integer,Boolean) Method

Scroll Prev Top Next More

Returns the index in the Text that matches the Regular Expression or 0 if no match found. The Len parameter will equal the number of characters in the Text that match the regular expression.

noteNote

The regular expression engine uses 1-indexed strings, not the new 0-indexed strings.

noteNote

If the regular expression is empty (Expression = ''), the method will always return 0.

Namespace: GRegularExpression

Parameters

Text

Type: System.Void

StartPos

Type: Integer

Len

Type: Integer

MatchAllChars

Type: Boolean

Return Value

Type: Integer

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb