regex-rure-0.1.0.2: Bindings to Rust's regex library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Regex.Rure

Synopsis

Higher-level functions

hsMatches Source #

Arguments

:: RureFlags 
-> ByteString

Regex

-> ByteString

Haystack (unicode)

-> Either String [RureMatch] 

hsIsMatch Source #

Arguments

:: RureFlags 
-> ByteString

Regex

-> ByteString

Haystack (unicode)

-> Either String Bool 

hsSetIsMatch Source #

Arguments

:: RureFlags 
-> [ByteString]

Needles (regex)

-> ByteString

Haystack

-> Either String Bool 

Functions in IO.

isMatch Source #

Arguments

:: RurePtr 
-> ByteString

Unicode

-> CSize

Start

-> IO Bool 

setIsMatch Source #

Arguments

:: RureSetPtr 
-> ByteString

Unicode

-> CSize

Start

-> IO Bool 

find Source #

Arguments

:: RurePtr 
-> ByteString

Unicode

-> CSize

Start

-> IO (Maybe RureMatch) 

Types

data RureMatch Source #

Constructors

RureMatch 

Fields

Instances

Instances details
Show RureMatch Source # 
Instance details

Defined in Regex.Rure.FFI

Eq RureMatch Source # 
Instance details

Defined in Regex.Rure.FFI

Pointer types

Options/flags

data RureFlags Source #

Instances

Instances details
Semigroup RureFlags Source # 
Instance details

Defined in Regex.Rure.FFI