Regex
Namespace: FSharpAux
Regex module for functional use of regular expressions
Nested types and modules
Type | Description |
RegexOptions
|
Provides enumerated values to use to set regular expressions options
|
Functions and values
Function or value | Description |
createRegex regexOptions pattern
Signature: regexOptions:RegexOptions -> pattern:string -> Regex
|
Creates a regex
|
parse regexStr line
Signature: regexStr:string -> line:string -> string list
|
Returns the group values of the first occurencing match
|
parseAll regexStr line
Signature: regexStr:string -> line:string -> seq<string list>
|
Returns a seq of group values matching the pattern
|
tryParseValue regexStr line
Signature: regexStr:string -> line:string -> string option
|
Returns the first occurencing value of the match
|