Regular expressions (PRIM_REGX)

Provides access to the LANSA regular expression engine

Ancestors - Object (PRIM_OBJT)

Details

No detailed help is available for this feature

Properties

Name

Description

ComponentClassName

ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)

ComponentMembers

ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)

ComponentPatternName

ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)

ComponentTag

Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)

ComponentType

ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)

ComponentTypeName

ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)

Name

Name identifies the component Inherited from Object (PRIM_OBJT)

Owner

Owner owns this component Inherited from Object (PRIM_OBJT)

Parent

The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)

Settings

Reference to a settings object that controls matching options

Events

Name

Description

CreateInstance

CreateInstance is signalled when an instance of a component is created Inherited from Regular expressions (PRIM_REGX)

DestroyInstance

DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Regular expressions (PRIM_REGX)

Methods

Name

Description

IsMatch

Indicates whether the regular expression finds a match in the input string

Result, Pattern, InputString

Match

Searches an input string for a substring that matches a regular expression pattern and returns the first occurrence as a single Match object

Match, Pattern, InputString

Matches

Searches an input string for all occurrences of a regular expression and returns all the matches

Matches, Pattern, InputString

Replace

Replaces all strings that match a specified regular expression with a specified replacement string

Result, Pattern, InputString, ReplaceString

Split

Splits an input string into an array of substrings at the positions defined by a regular expression pattern

Tokens, Pattern, InputString


See also

All Component Classes

Technical Reference

  • No labels