Export (0) Print
Expand All
2 out of 2 rated this helpful - Rate this topic

Regex Methods

The Regex type exposes the following members.

  NameDescription
Public method Static member 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 Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Escape Escapes a minimal set of characters (\, *, +, ?, |, {, [, (,), ^, $,., #, and white space) by replacing them with their escape codes. This instructs the regular expression engine to interpret these characters literally rather than as metacharacters.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
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 Returns 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.
Protected method InitializeReferences Infrastructure. Used by a Regex object generated by the CompileToAssembly method.
Public method Static member 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 Static member Supported by the .NET Compact Framework Supported by the XNA Framework Match Overloaded. Searches an input string for a substring that matches a regular expression pattern and returns the first occurrence as a single Match object.
Public method Static member 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.
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.)
Public method Static member 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 Static member 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 Returns the regular expression pattern that was passed into the Regex constructor. (Overrides Object.ToString().)
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Unescape Converts any escaped characters in the input string.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework UseOptionC Infrastructure. Used by a Regex object generated by the CompileToAssembly method.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework UseOptionR Infrastructure. Used by a Regex object generated by the CompileToAssembly method.
Top
  NameDescription
Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. Populates a SerializationInfo object with the data necessary to deserialize the current Regex object.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.