RexPattern class | systype.h[1208]

'RexPattern' intrinsic class. This class encapsulates a compiled regular expression pattern.

A RexPattern object can be passed to the regular expression functions (rexMatch, rexSearch, rexReplace) in place of a string pattern. Since compiling a regular expression takes a non-trivial amount of time, it's more efficient to compile a pattern to a RexPattern object if the same pattern will be used in multiple searches.

`intrinsic class RexPattern : Object`

Superclass Tree (in declaration order)

`RexPattern`
`Object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

``

``

(none)

Summary of Methods

`getPatternString`

Inherited from `Object` :
`getPropList getPropParams getSuperclassList isClass isTransient ofKind propDefined propInherited propType valToSymbol`

Properties

(none)

Methods

`getPatternString ( )` | `systype.h[1218]`

retrieve the original pattern string used to construct the object

TADS 3 Library Manual
Generated on 8/21/2012 from TADS version 3.1.2