Export (0) Print
Expand All

Regex Members

Represents an immutable regular expression.

The following tables list the members exposed by the Regex type.

(see also Protected Constructors )
  Name Description
Public method Supported by the .NET Compact Framework Regex Overloaded. Initializes a new instance of the Regex class.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Regex Overloaded. Initializes a new instance of the Regex class.
Top

  Name Description
Protected field Supported by the .NET Compact Framework capnames Used by a Regex object generated by the CompileToAssembly method.
Protected field Supported by the .NET Compact Framework caps Used by a Regex object generated by the CompileToAssembly method.
Protected field Supported by the .NET Compact Framework capsize Used by a Regex object generated by the CompileToAssembly method.
Protected field Supported by the .NET Compact Framework capslist Used by a Regex object generated by the CompileToAssembly method.
Protected field factory Used by a Regex object generated by the CompileToAssembly method.
Protected field Supported by the .NET Compact Framework pattern Used by a Regex object generated by the CompileToAssembly method.
Protected field Supported by the .NET Compact Framework roptions Used by a Regex object generated by the CompileToAssembly method.
Top

  Name Description
Public property Static CacheSize Gets or sets the maximum number of entries in the current Regex object's cache of compiled regular expressions.
Public property Supported by the .NET Compact Framework Options Returns the options passed into the Regex constructor.
Public property Supported by the .NET Compact Framework RightToLeft Gets a value indicating whether the regular expression searches from right to left.
Top

(see also Protected Methods )
  Name Description
Public method Static CompileToAssembly Overloaded. Compiles regular expressions and saves them to disk in a single assembly.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework Escape Escapes a minimal set of metacharacters (\, *, +, ?, |, {, [, (,), ^, $,., #, and white space) by replacing them with their escape codes.
Public method Supported by the .NET Compact Framework GetGroupNames Returns an array of capturing group names for the regular expression.
Public method Supported by the .NET Compact Framework GetGroupNumbers Returns an array of capturing group numbers that correspond to group names in an array.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GroupNameFromNumber Gets the group name that corresponds to the specified group number.
Public method Supported by the .NET Compact Framework GroupNumberFromName Returns the group number that corresponds to the specified group name.
Public method Supported by the .NET Compact Framework IsMatch Overloaded. Indicates whether the regular expression finds a match in the input string.
Public method Supported by the .NET Compact Framework Match Overloaded. Searches an input string for an occurrence of a regular expression and returns the precise result as a single Match object.
Public method Supported by the .NET Compact Framework Matches Overloaded. Searches an input string for all occurrences of a regular expression and returns all the successful matches as if Match were called numerous times.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Replace Overloaded. Replaces all occurrences of a character pattern defined by a regular expression with a specified replacement character string.
Public method Supported by the .NET Compact Framework Split Overloaded. Splits an input string into an array of substrings at the positions defined by a regular expression match.
Public method Supported by the .NET Compact Framework ToString Overridden. Returns the regular expression pattern that was passed into the Regex constructor.
Public method Static Supported by the .NET Compact Framework Unescape Unescapes any escaped characters in the input string.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method InitializeReferences Used by a Regex object generated by the CompileToAssembly method.
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework UseOptionC Used by a Regex object generated by the CompileToAssembly method.
Protected method Supported by the .NET Compact Framework UseOptionR Used by a Regex object generated by the CompileToAssembly method.
Top

  Name Description
Explicit interface implementation Method System.Runtime.Serialization.ISerializable.GetObjectData Populates a SerializationInfo object with the data necessary to deserialize the current Regex object.
Top

Community Additions

ADD
Show:
© 2014 Microsoft