hxt-regex-xmlschema-9.2.0.7: A regular expression library for W3C XML Schema regular expressions

Copyright | Copyright (C) 2011- Uwe Schmidt
License | MIT
Maintainer | Uwe Schmidt <uwe@fh-wedel.de>
Stability | stable
Portability | portable
Safe Haskell | Safe-Inferred
Language | Haskell2010

Text.Regex.Glob.Generic

Description

csh glob style pattern matcher

Synopsis

- data GenRegex s
- type Regex = GenRegex String
- type RegexText = GenRegex Text
- type RegexTextLazy = GenRegex Text
- type RegexByteString = GenRegex ByteString
- type RegexByteStringLazy = GenRegex ByteString
- match :: StringLike s => s -> s -> Bool
- matchNoCase :: StringLike s => s -> s -> Bool
- parseRegex :: StringLike s => s -> GenRegex s
- parseRegexNoCase :: StringLike s => s -> GenRegex s

# Documentation

data GenRegex s Source #

#### Instances

Instances details

StringLike s => Show (GenRegex s) Source # |
Instance details Defined in Text.Regex.XMLSchema.Generic.Regex Methods showsPrec :: Int -> GenRegex s -> ShowS Source # show :: GenRegex s -> String Source # showList :: [GenRegex s] -> ShowS Source #
Eq s => Eq (GenRegex s) Source # |
Instance details Defined in Text.Regex.XMLSchema.Generic.Regex Methods (==) :: GenRegex s -> GenRegex s -> Bool Source # (/=) :: GenRegex s -> GenRegex s -> Bool Source #
Ord s => Ord (GenRegex s) Source # |

Instance details

Defined in Text.Regex.XMLSchema.Generic.Regex

Methods

compare :: GenRegex s -> GenRegex s -> Ordering Source #

(<) :: GenRegex s -> GenRegex s -> Bool Source #

(<=) :: GenRegex s -> GenRegex s -> Bool Source #

(>) :: GenRegex s -> GenRegex s -> Bool Source #

(>=) :: GenRegex s -> GenRegex s -> Bool Source #

max :: GenRegex s -> GenRegex s -> GenRegex s Source #

min :: GenRegex s -> GenRegex s -> GenRegex s Source #

type Regex = GenRegex String Source #

type RegexText = GenRegex Text Source #

type RegexTextLazy = GenRegex Text Source #

type RegexByteString = GenRegex ByteString Source #

type RegexByteStringLazy = GenRegex ByteString Source #

match :: StringLike s => s -> s -> Bool Source #

matchNoCase :: StringLike s => s -> s -> Bool Source #

parseRegex :: StringLike s => s -> GenRegex s Source #

parse a glob pattern

parseRegexNoCase :: StringLike s => s -> GenRegex s Source #