Skip to content

Methods for cRegEx

View method list in alphabetical order.

Name Type Description Defining Class
Match Function Finds the offset of the first match in the subject string Finds the offset of the first match in the subject string (0 if no match). cRegEx
MatchAll Function Finds all matches and returns the match values in a string array Finds all matches and returns the match values in a string array. cRegEx
MatchAllCallback Function Calls a procedure for each match in the subject string Calls the passed procedure for every match it finds on the subject string. cRegEx
MatchAllGroups Function Finds all individual matching groups and returns them in a two dimensional array Finds all individual matching groups and returns them in a two-dimensional array. cRegEx
MatchAllOffsets Function Finds all matches and returns their start and end offsets in a two-dimensional array Finds all matches and returns their start and end offsets in a two-dimensional array. cRegEx
RMatch Function Finds the offset of the last match in the subject string Finds the offset of the last match in the subject string (0 if no match). cRegEx
Split Function Splits the subject string using matches of the expression as delimiters Splits the subject string using matches of the expression as delimiters. cRegEx
Substitute Function Replaces the first match in the subject string Replaces the first match in the subject string. cRegEx
SubstituteAll Function Replaces all matches in the subject string Replaces all matches in the subject string. cRegEx
SubstituteExCallback Function Replaces all matches in a string with result of a function Replaces all matches in a string with result of a function. cRegEx

Inherited Methods from cObject

Name Type Description Defining Class
ChildByIndex Function Can be used to iterate the direct children of an object ChildByIndex is a function that can be used to iterate the direct children of an object. cObject
ClassSuperClass Function Returns the superclass of the passed class This returns the superclass of the passed class. cObject
Create Function Creates an object based on the passed Class Id The Create function is used to dynamically create objects. cObject
CreateNamed Function Creates an object based on the passed Class Id and assigns it a name Name based on a passed name Creates an object based on the passed Class Id and assigns it a name Name based on a passed name. cObject
Destroy Procedure Destroys the object that receives the message and any child objects of that object The Destroy message destroys the object that receives the message. cObject
Exit_Application Procedure Starts the process of closing an application The Exit_Application message is used to close the program. cObject
IsClassOfClass Function Determines whether the target class is part of the searched class's hierarchy cObject
IsObjectOfClass Function Determines whether the passed class is part of the object's class hierarchy This returns True if the passed class is part of the object's class hierarchy. cObject
ObjectClass Function Returns the integer class ID assigned to the class this object is based on Returns the integer class ID assigned to the class this object is based on. cObject
Request_Destroy_Object Procedure Use the Destroy method instead This method is used to destroy an object and all of its children. cObject