Returns the index in the Text that matches the Regular Expression or 0 if no match found.
Note |
---|
The regular expression engine uses 1-indexed strings, not the new 0-indexed strings. |
Note |
---|
If the regular expression is empty (Expression = ''), the method will always return 0. |
Namespace: GRegularExpression
Delphi |
public |
Parameters
Text
Type: System.Void
MatchAllChars
Type: Boolean
Type: Integer