Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

public static TResult? RawMatchReverseNullable<TResult>(
    this Stringerex<TResult> stringerex,
    string input,
    int? endAt = null
)

Summary

Determines whether the given input string matches this regular expression, and if so, returns the result of the first match found by matching the regular expression backwards; 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.
int?endAt Optional index at which to end the search. Matches that end at or after this index are not included. (Default is the end of the input string.)

Returns

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