Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: TResult? RawMatchNullable<T, TResult>(this Generex<T, TResult>, T[], int)

Declaration

public static TResult? RawMatchNullable<T, TResult>(
    this Generex<T, TResult> generex,
    T[] input,
    int startAt = 0
)

Summary

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

Generic type parameters

TThis type parameter is not documented.
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 Generex<T, TResult>generex The current regular expression.
T[]input Input sequence 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.