Home Notices Documents Classes Download Others Rice
Classes  >  regex
regex class

Description

Represents a regular expression.

Notes

It is a class that is dynamically embedded when the CookerGX runs.

This class is distributed as Rtype.Regex.dll.

The dll file is in the dlls directory in the CookerGX's distribution archive.

DLL

Rtype.Regex.dll

fitter

SignatureDescription
regex()

Get a new instance of regex class.

regex(string)

Gets a new instance of the regex class which was initialized with the specified regular expression.

getter

SignatureDescription
Fitted

Gets a value that indicates whether this instance was already initialized.

TypeName

Gets the type name.

setter

This class does not have a setter.

method

SignatureDescription
Delete(string)

Gets a new string that deleted all strings that match a regular expression pattern in the argument.

Group(string,int)

Gets a new string that match a group regular expression pattern that is selected by index in the argument.

Group(string,string)

Gets a new string that match a group regular expression pattern that is selected by group name in the argument.

GroupCount(string)

Gets a number of groups.

Groups(string)

Gets a list of the string that match a group regular expression pattern in the argument.

IsMatch(string)

Gets a value that Indicates whether there is a match in a input string.

Match(string)

Gets a first substring which matches with the regular expression.

MatchM(string)

Gets an instance of the match class that represents the first substring that matches the regular expression.

Matches(string)

Gets a list of substrings which match with the regular expression.

MatchesM(string)

Gets a list of instances of the match class representing a substring that matches the regular expression.

Replace(string,string)

Gets a new string that has replaced all strings that match the regular expression pattern in the argument.

Split(string)

Gets a list of substrings which is splitted with a string that matches the regular expression in the argument.

Downloads for latest version.

The above .dll and source files are distributed as a self-extracting archive of 7z format.

Downloads for old version.

The above .dll and source files are distributed as a self-extracting archive of 7z format.

Copyright © Rice All rights reserved.