RegExpr Object Properties

Applies to TestComplete 15.69, last modified on November 13, 2024

The RegExpr object contains the following properties:

Property List

Name Description
CompilerErrorPos Returns the position in the regular expression where the compilation error occurred.
ErrorMsg Returns the description for the specified error.
Expression Specifies the regular expression pattern.
InputString Specifies the input text to which the regular expression is applied.
LastError Returns the code of the last occurred compilation error.
LinePairedSeparator Specifies characters that are treated as double-character line breaks.
LineSeparators Specifies characters that are treated as single-character line break.
Match Returns the text that matches an expression or sub-expression.
MatchLen Returns the length of the matching text.
MatchPos Returns the first character position where the matching text begins.
ModifierStr Specifies the string for toggling regular expression modifiers.
SpaceChars Specifies characters that are treated as "whitespace characters".
SubExprMatchCount Returns the number of sub-expressions found in the regular expression.
WordChars Specifies characters that are treated as "word characters".

See Also

RegExpr Object

Highlight search results