Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: TResult? RawMatchNullable<TResult>(this Stringerex<TResult>, string, int)

Declaration

public static TResult? RawMatchNullable<TResult>(
    this Stringerex<TResult> stringerex,
    string input,
    int startAt = 0
)

Summary

Determines whether the given input string matches this regular expression, and if so, returns the result of the first match; otherwise, returns null.

Generic type parameters

TResult
  • Must derive from: System.ValueType.
  • Must have a default constructor.
  • Must be a non-nullable value type.
This type parameter is not documented.

Parameters

this Stringerex<TResult>stringerex The current regular expression.
stringinput Input string to match the regular expression against.
intstartAt Optional index at which to start the search. Matches that start before this index are not included.

Returns

The result of the first match in case of success; null if no match.