Breyta

Deila með


TagRegex35 Class

Definition

Provides a regular expression to parse the opening tag of an HTML element, an XML element, or an ASP.NET Web server control tag, for applications that target the .NET Framework 3.5 SP1 and earlier versions.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class TagRegex35 : System::Text::RegularExpressions::Regex
public class TagRegex35 : System.Text.RegularExpressions.Regex
type TagRegex35 = class
    inherit Regex
Public Class TagRegex35
Inherits Regex
Inheritance
TagRegex35

Remarks

The TagRegex35 class provides a regular expression that ASP.NET uses internally to parse the opening tag of an HTML element, an XML element, or an ASP.NET Web server control tag, for applications that target the .NET Framework 3.5 SP1 and earlier versions. ASP.NET uses the System.Web.RegularExpressions.TagRegex class for applications that target the .NET Framework 4 and later versions.

Note

The System.Web.RegularExpressions classes are used internally by the .NET Framework to parse ASP.NET pages.

Constructors

TagRegex35()

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the TagRegex35 class.

TagRegex35(TimeSpan)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the TagRegex35 class with a specified time-out value.

Fields

capnames

Used by a Regex object generated by the CompileToAssembly method.

(Inherited from Regex)
caps

Used by a Regex object generated by the CompileToAssembly method.

(Inherited from Regex)
capsize

Used by a Regex object generated by the CompileToAssembly method.

(Inherited from Regex)
capslist

Used by a Regex object generated by the CompileToAssembly method.

(Inherited from Regex)
factory

Used by a Regex object generated by the CompileToAssembly method.

(Inherited from Regex)
internalMatchTimeout

The maximum amount of time that can elapse in a pattern-matching operation before the operation times out.

(Inherited from Regex)
pattern

Used by a Regex object generated by the CompileToAssembly method.

(Inherited from Regex)
roptions

Used by a Regex object generated by the CompileToAssembly method.

(Inherited from Regex)

Properties

CapNames

Gets or sets a dictionary that maps named capturing groups to their index values.

(Inherited from Regex)
Caps

Gets or sets a dictionary that maps numbered capturing groups to their index values.

(Inherited from Regex)
MatchTimeout

Gets the time-out interval of the current instance.

(Inherited from Regex)
Options

Gets the options that were passed into the Regex constructor.

(Inherited from Regex)
RightToLeft

Gets a value that indicates whether the regular expression searches from right to left.

(Inherited from Regex)

Methods

Count(ReadOnlySpan<Char>, Int32)

Searches an input span for all occurrences of a regular expression and returns the number of matches.

(Inherited from Regex)
Count(ReadOnlySpan<Char>)

Searches an input span for all occurrences of a regular expression and returns the number of matches.

(Inherited from Regex)
Count(String)

Searches an input string for all occurrences of a regular expression and returns the number of matches.

(Inherited from Regex)
EnumerateMatches(ReadOnlySpan<Char>, Int32)

Searches an input span for all occurrences of a regular expression and returns a Regex.ValueMatchEnumerator to iterate over the matches.

(Inherited from Regex)
EnumerateMatches(ReadOnlySpan<Char>)

Searches an input span for all occurrences of a regular expression and returns a Regex.ValueMatchEnumerator to iterate over the matches.

(Inherited from Regex)
EnumerateSplits(ReadOnlySpan<Char>, Int32, Int32)

Searches an input span for all occurrences of a regular expression and returns a Regex.ValueSplitEnumerator to iterate over the splits around matches.

(Inherited from Regex)
EnumerateSplits(ReadOnlySpan<Char>, Int32)

Searches an input span for all occurrences of a regular expression and returns a Regex.ValueSplitEnumerator to iterate over the splits around matches.

(Inherited from Regex)
EnumerateSplits(ReadOnlySpan<Char>)

Searches an input span for all occurrences of a regular expression and returns a Regex.ValueSplitEnumerator to iterate over the splits around matches.

(Inherited from Regex)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetGroupNames()

Returns an array of capturing group names for the regular expression.

(Inherited from Regex)
GetGroupNumbers()

Returns an array of capturing group numbers that correspond to group names in an array.

(Inherited from Regex)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GroupNameFromNumber(Int32)

Gets the group name that corresponds to the specified group number.

(Inherited from Regex)
GroupNumberFromName(String)

Returns the group number that corresponds to the specified group name.

(Inherited from Regex)
InitializeReferences()
Obsolete.

Used by a Regex object generated by the CompileToAssembly method.

(Inherited from Regex)
IsMatch(ReadOnlySpan<Char>, Int32)

Indicates whether the regular expression specified in the Regex constructor finds a match in a specified input span.

(Inherited from Regex)
IsMatch(ReadOnlySpan<Char>)

Indicates whether the regular expression specified in the Regex constructor finds a match in a specified input span.

(Inherited from Regex)
IsMatch(String, Int32)

Indicates whether the regular expression specified in the Regex constructor finds a match in the specified input string, beginning at the specified starting position in the string.

(Inherited from Regex)
IsMatch(String)

Indicates whether the regular expression specified in the Regex constructor finds a match in a specified input string.

(Inherited from Regex)
Match(String, Int32, Int32)

Searches the input string for the first occurrence of a regular expression, beginning at the specified starting position and searching only the specified number of characters.

(Inherited from Regex)
Match(String, Int32)

Searches the input string for the first occurrence of a regular expression, beginning at the specified starting position in the string.

(Inherited from Regex)
Match(String)

Searches the specified input string for the first occurrence of the regular expression specified in the Regex constructor.

(Inherited from Regex)
Matches(String, Int32)

Searches the specified input string for all occurrences of a regular expression, beginning at the specified starting position in the string.

(Inherited from Regex)
Matches(String)

Searches the specified input string for all occurrences of a regular expression.

(Inherited from Regex)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Replace(String, MatchEvaluator, Int32, Int32)

In a specified input substring, replaces a specified maximum number of strings that match a regular expression pattern with a string returned by a MatchEvaluator delegate.

(Inherited from Regex)
Replace(String, MatchEvaluator, Int32)

In a specified input string, replaces a specified maximum number of strings that match a regular expression pattern with a string returned by a MatchEvaluator delegate.

(Inherited from Regex)
Replace(String, MatchEvaluator)

In a specified input string, replaces all strings that match a specified regular expression with a string returned by a MatchEvaluator delegate.

(Inherited from Regex)
Replace(String, String, Int32, Int32)

In a specified input substring, replaces a specified maximum number of strings that match a regular expression pattern with a specified replacement string.

(Inherited from Regex)
Replace(String, String, Int32)

In a specified input string, replaces a specified maximum number of strings that match a regular expression pattern with a specified replacement string.

(Inherited from Regex)
Replace(String, String)

In a specified input string, replaces all strings that match a regular expression pattern with a specified replacement string.

(Inherited from Regex)
Split(String, Int32, Int32)

Splits an input string a specified maximum number of times into an array of substrings, at the positions defined by a regular expression specified in the Regex constructor. The search for the regular expression pattern starts at a specified character position in the input string.

(Inherited from Regex)
Split(String, Int32)

Splits an input string a specified maximum number of times into an array of substrings, at the positions defined by a regular expression specified in the Regex constructor.

(Inherited from Regex)
Split(String)

Splits an input string into an array of substrings at the positions defined by a regular expression pattern specified in the Regex constructor.

(Inherited from Regex)
ToString()

Returns the regular expression pattern that was passed into the Regex constructor.

(Inherited from Regex)
UseOptionC()
Obsolete.

Used by a Regex object generated by the CompileToAssembly method.

(Inherited from Regex)
UseOptionR()
Obsolete.

Used by a Regex object generated by the CompileToAssembly method.

(Inherited from Regex)

Explicit Interface Implementations

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo object with the data necessary to deserialize the current Regex object.

(Inherited from Regex)

Applies to

See also