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 Supported by the XNA Framework Regex Overloaded. Initializes a new instance of the Regex class.
Top

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

  Name Description
Protected field Supported by the .NET Compact Framework Supported by the XNA Framework capnames Used by a Regex object generated by the CompileToAssembly method.
Protected field Supported by the .NET Compact Framework Supported by the XNA Framework caps Used by a Regex object generated by the CompileToAssembly method.
Protected field Supported by the .NET Compact Framework Supported by the XNA Framework capsize Used by a Regex object generated by the CompileToAssembly method.
Protected field Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework pattern Used by a Regex object generated by the CompileToAssembly method.
Protected field Supported by the .NET Compact Framework Supported by the XNA 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 static cache of compiled regular expressions.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Options Returns the options passed into the Regex constructor.
Public property Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework GetGroupNames Returns an array of capturing group names for the regular expression.
Public method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GroupNameFromNumber Gets the group name that corresponds to the specified group number.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GroupNumberFromName Returns the group number that corresponds to the specified group name.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IsMatch Overloaded. Indicates whether the regular expression finds a match in the input string.
Public method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA Framework Replace Overloaded. Within a specified input string, replaces strings that match a regular expression pattern with a specified replacement string.
Public method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework ToString Overridden. Returns the regular expression pattern that was passed into the Regex constructor.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework Unescape Unescapes any escaped characters in the input string.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework UseOptionC Used by a Regex object generated by the CompileToAssembly method.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework UseOptionR Used by a Regex object generated by the CompileToAssembly method.
Top

Community Additions

ADD
Show:
© 2014 Microsoft