Home Cooker Classes Others Rice CookerGX
Classes  >  regex
regex class

Description

Represents a regular expression.

Notes

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

This class is distributed as Rtype.Regex.dll.

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

fitter

SignatureDescription
regex()

Get a new instance of regex class.

regex(string)

Gets a new instance of the regex type which is Initialized with the specified regular expression.

getter

SignatureDescription
Fitted

Gets the 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 string that deleted all strings that match a regular expression pattern in a input string.

Group(string,int)

Gets a string of the group which is specified by the index.

Group(string,string)

Gets a string of the group which is specified by the group name.

GroupCount(string)

Gets the number of groups.

Groups(string)

Gets a list of the string of all groups which was searched.

IsMatch(string)

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

Match(string)

Gets a first substring in the input string which matches with the regular expression.

Matches(string)

Gets a list of all substrings in the input string which matches with the regular expression.

Replace(string,string)

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

Split(string)

Gets a list of substrings in the input string which is splitted with the regular expression.

Download.

Please download the regex class ( Rtype.Regex.dll ) from the link below.

Please download the source of the regex class from the link below.

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

Copyright © Rice All rights reserved.