FsRegEx


FsGroup

Namespace: global
Parent Module: FsRegEx

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

Constructors

ConstructorDescription
new(name, group)
Signature: (name:string * group:Group) -> FsGroup

CompiledName: .ctor

Instance members

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

Array of all the 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). The collection may have zero or more items.

Group
Signature: Group

The underlying System.Text.RegularExpressions.Group. Represents the results from a single capturing group.

CompiledName: get_Group

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

Name
Signature: string

Returns name of capture group.

CompiledName: get_Name

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