std.regex

Bindings for rust-lang/regex

Types

type Error = <opaque>

type Regex = <opaque>

type Match = { start : Int, end : Int, text : String }

Values

let eq_Match : std.cmp.Eq std.regex.types.Match

Eq a defines equality (==) on a

let show_Match : std.show.Show std.regex.types.Match

Show a represents a conversion function from a to a readable string.

let new : String -> std.types.Result Error Regex

let is_match : Regex -> String -> std.types.Bool

let find : Regex -> String -> std.types.Option std.regex.types.Match

let captures : Regex
        -> String
        -> std.types.Option (Array (std.types.Option std.regex.types.Match))

let error_to_string : Error -> String