FSharpx.Extras


Regex Module

Types and nested modules

Type/Module Description

Compiled

Interpreted

Options

Functions and values

Function or value Description

replaceWith replacements input rx

Full Usage: replaceWith replacements input rx

Parameters:
    replacements : string list
    input : string
    rx : Regex

Returns: string
replacements : string list
input : string
rx : Regex
Returns: string

replaceWithAcc folder state input rx

Full Usage: replaceWithAcc folder state input rx

Parameters:
    folder : 'a -> Match -> 'a * string
    state : 'a
    input : string
    rx : Regex

Returns: 'a * string
folder : 'a -> Match -> 'a * string
state : 'a
input : string
rx : Regex
Returns: 'a * string

tryMatch pattern input

Full Usage: tryMatch pattern input

Parameters:
    pattern : string
    input : string

Returns: ActiveMatch option
Modifiers: inline
pattern : string
input : string
Returns: ActiveMatch option

tryMatchWithOptions flags pattern input

Full Usage: tryMatchWithOptions flags pattern input

Parameters:
Returns: ActiveMatch option

flags:RegexOptions -> pattern:string -> input:string -> Regex.ActiveMatch option

flags : RegexOptions
pattern : string
input : string
Returns: ActiveMatch option

Active patterns

Active pattern Description

(|Match|_|) options pattern input

Full Usage: (|Match|_|) options pattern input

Parameters:
Returns: ActiveMatch option
Modifiers: inline
options : RegexOptions
pattern : string
input : string
Returns: ActiveMatch option