FSharpVerbalExpressions


FsMatch

Namespace: FsVerbalExpressions

Composable wrapping type for System.Text.RegularExpressions.Match.

Instance members

Instance memberDescription
Captures()
Signature: unit -> Capture []

Returns array of captures matched by the capturing group, in innermost-leftmost-first order (or innermost-rightmost-first order if the regular expression is modified with the RegexOptions.RightToLeft option).

Groups()
Signature: unit -> FsGroup []

Returns array of groups matched by the regular expression.

Index
Signature: int

The position in the original string where the first character of the captured substring is found.

CompiledName: get_Index

Length
Signature: int

Returns the length of the captured substring.

CompiledName: get_Length

Match
Signature: Match

The underlying System.Text.RegularExpressions.Match.

CompiledName: get_Match

Result(replacement)
Signature: replacement:string -> string

Returns the expansion of the specified replacement pattern.

Success
Signature: bool

Returns a value indicating whether the match is successful.

CompiledName: get_Success

Value
Signature: string

Returns the captured substring from the input string.

CompiledName: get_Value

Fork me on GitHub