Capture Groups
FsGroup
FsGroup
provides the functionality in the System.Text.RegularExpressions.Group
Class, but returning arrays of objects instead of special collections and makes the group name a property.
anonymous groups
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: |
|
named groups
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: |
|
capturing groups
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: |
|
group numbers and names
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: |
|
namespace FsVerbalExpressions
val pattern : string
Full name: Group.pattern
Full name: Group.pattern
val input : string
Full name: Group.input
Full name: Group.input
val m : FsMatch
Full name: Group.m
Full name: Group.m
module FsRegEx
from FsVerbalExpressions
from FsVerbalExpressions
val firstMatch : regularExpression:string -> input:string -> FsMatch
Full name: FsVerbalExpressions.FsRegEx.firstMatch
Full name: FsVerbalExpressions.FsRegEx.firstMatch
val printfn : format:Printf.TextWriterFormat<'T> -> 'T
Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.printfn
Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.printfn
property FsMatch.Value: string
member FsMatch.Groups : unit -> FsGroup []
module Array
from Microsoft.FSharp.Collections
from Microsoft.FSharp.Collections
val iteri : action:(int -> 'T -> unit) -> array:'T [] -> unit
Full name: Microsoft.FSharp.Collections.Array.iteri
Full name: Microsoft.FSharp.Collections.Array.iteri
val i : int
val g : FsGroup
property FsGroup.Value: string
member FsGroup.Captures : unit -> System.Text.RegularExpressions.Capture []
val c : System.Text.RegularExpressions.Capture
property System.Text.RegularExpressions.Capture.Value: string
val pattern' : string
Full name: Group.pattern'
Full name: Group.pattern'
val input' : string
Full name: Group.input'
Full name: Group.input'
val m' : FsMatch
Full name: Group.m'
Full name: Group.m'
val iter : action:('T -> unit) -> array:'T [] -> unit
Full name: Microsoft.FSharp.Collections.Array.iter
Full name: Microsoft.FSharp.Collections.Array.iter
property FsGroup.Name: string
val regExpr : string
Full name: Group.regExpr
Full name: Group.regExpr
val matches : FsMatch []
Full name: Group.matches
Full name: Group.matches
val matches : regularExpression:string -> input:string -> FsMatch []
Full name: FsVerbalExpressions.FsRegEx.matches
Full name: FsVerbalExpressions.FsRegEx.matches
val m : FsMatch
val groups : FsGroup []
property System.Array.Length: int
namespace System
val pattern'' : string
Full name: Group.pattern''
Full name: Group.pattern''
val input'' : string
Full name: Group.input''
Full name: Group.input''
val groupNumbers' : int array
Full name: Group.groupNumbers'
Full name: Group.groupNumbers'
val groupNumbers : regularExpression:string -> int array
Full name: FsVerbalExpressions.FsRegEx.groupNumbers
Full name: FsVerbalExpressions.FsRegEx.groupNumbers
val groupNames : string array
Full name: Group.groupNames
Full name: Group.groupNames
val groupNames : regularExpression:string -> string array
Full name: FsVerbalExpressions.FsRegEx.groupNames
Full name: FsVerbalExpressions.FsRegEx.groupNames
val m'' : FsMatch
Full name: Group.m''
Full name: Group.m''
type Array =
member Clone : unit -> obj
member CopyTo : array:Array * index:int -> unit + 1 overload
member GetEnumerator : unit -> IEnumerator
member GetLength : dimension:int -> int
member GetLongLength : dimension:int -> int64
member GetLowerBound : dimension:int -> int
member GetUpperBound : dimension:int -> int
member GetValue : [<ParamArray>] indices:int[] -> obj + 7 overloads
member Initialize : unit -> unit
member IsFixedSize : bool
...
Full name: System.Array
member Clone : unit -> obj
member CopyTo : array:Array * index:int -> unit + 1 overload
member GetEnumerator : unit -> IEnumerator
member GetLength : dimension:int -> int
member GetLongLength : dimension:int -> int64
member GetLowerBound : dimension:int -> int
member GetUpperBound : dimension:int -> int
member GetValue : [<ParamArray>] indices:int[] -> obj + 7 overloads
member Initialize : unit -> unit
member IsFixedSize : bool
...
Full name: System.Array
val zip : array1:'T1 [] -> array2:'T2 [] -> ('T1 * 'T2) []
Full name: Microsoft.FSharp.Collections.Array.zip
Full name: Microsoft.FSharp.Collections.Array.zip
val n : int
val name : string
val isNumber : bool
type Int32 =
struct
member CompareTo : value:obj -> int + 1 overload
member Equals : obj:obj -> bool + 1 overload
member GetHashCode : unit -> int
member GetTypeCode : unit -> TypeCode
member ToString : unit -> string + 3 overloads
static val MaxValue : int
static val MinValue : int
static member Parse : s:string -> int + 3 overloads
static member TryParse : s:string * result:int -> bool + 1 overload
end
Full name: System.Int32
struct
member CompareTo : value:obj -> int + 1 overload
member Equals : obj:obj -> bool + 1 overload
member GetHashCode : unit -> int
member GetTypeCode : unit -> TypeCode
member ToString : unit -> string + 3 overloads
static val MaxValue : int
static val MinValue : int
static member Parse : s:string -> int + 3 overloads
static member TryParse : s:string * result:int -> bool + 1 overload
end
Full name: System.Int32
Int32.TryParse(s: string, result: byref<int>) : bool
Int32.TryParse(s: string, style: Globalization.NumberStyles, provider: IFormatProvider, result: byref<int>) : bool
Int32.TryParse(s: string, style: Globalization.NumberStyles, provider: IFormatProvider, result: byref<int>) : bool
val not : value:bool -> bool
Full name: Microsoft.FSharp.Core.Operators.not
Full name: Microsoft.FSharp.Core.Operators.not
Multiple items
type String =
new : value:char -> string + 7 overloads
member Chars : int -> char
member Clone : unit -> obj
member CompareTo : value:obj -> int + 1 overload
member Contains : value:string -> bool
member CopyTo : sourceIndex:int * destination:char[] * destinationIndex:int * count:int -> unit
member EndsWith : value:string -> bool + 2 overloads
member Equals : obj:obj -> bool + 2 overloads
member GetEnumerator : unit -> CharEnumerator
member GetHashCode : unit -> int
...
Full name: System.String
--------------------
String(value: nativeptr<char>) : unit
String(value: nativeptr<sbyte>) : unit
String(value: char []) : unit
String(c: char, count: int) : unit
String(value: nativeptr<char>, startIndex: int, length: int) : unit
String(value: nativeptr<sbyte>, startIndex: int, length: int) : unit
String(value: char [], startIndex: int, length: int) : unit
String(value: nativeptr<sbyte>, startIndex: int, length: int, enc: Text.Encoding) : unit
type String =
new : value:char -> string + 7 overloads
member Chars : int -> char
member Clone : unit -> obj
member CompareTo : value:obj -> int + 1 overload
member Contains : value:string -> bool
member CopyTo : sourceIndex:int * destination:char[] * destinationIndex:int * count:int -> unit
member EndsWith : value:string -> bool + 2 overloads
member Equals : obj:obj -> bool + 2 overloads
member GetEnumerator : unit -> CharEnumerator
member GetHashCode : unit -> int
...
Full name: System.String
--------------------
String(value: nativeptr<char>) : unit
String(value: nativeptr<sbyte>) : unit
String(value: char []) : unit
String(c: char, count: int) : unit
String(value: nativeptr<char>, startIndex: int, length: int) : unit
String(value: nativeptr<sbyte>, startIndex: int, length: int) : unit
String(value: char [], startIndex: int, length: int) : unit
String(value: nativeptr<sbyte>, startIndex: int, length: int, enc: Text.Encoding) : unit
field string.Empty