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

NameDescription
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentThe 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)
SettingsReference to a settings object that controls matching options

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Regular expressions (PRIM_REGX)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Regular expressions (PRIM_REGX)

Methods

NameDescription
IsMatchIndicates whether the regular expression finds a match in the input string
Result, Pattern, InputString
MatchSearches 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
MatchesSearches an input string for all occurrences of a regular expression and returns all the matches
Matches, Pattern, InputString
ReplaceReplaces all strings that match a specified regular expression with a specified replacement string
Result, Pattern, InputString, ReplaceString
SplitSplits 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