IRegexMatch.Success

Syntax

Success: Boolean;

Description

The Success property returns whether a regular expression is executed correctly.

Comments

The property returns True if regular expression template was set in the IRegex.Match method, and this template is applied successfully to text. The property returns True even if no matching expression was found. The property returns False if incorrect template of regular expression was set.

Example

The property use is given in the example for IRegex.Match.

See also:

IRegexMatch