Home Cooker Classes Others Rice CookerGX
Classes  >  regex  >  regex(string)
regex class : regex(string) fitter

Description

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

Syntax

new regex(string regularExpressionPattern)

Arguments

ClassNameDescription
stringregularExpressionPatternA regular expression pattern.

Return value

ClassDescription
regexA new instance of the regex type which is Initialized with the specified regular expression.

Sample code

reader readerInstance = new reader("^\s*");

Notes

It's a wrapper of the System.Text.RegularExpressions.Regex.Regex(String).

Links for reference

Copyright © Rice All rights reserved.