Text.Regex.Glob.Generic

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 #

#### Instances

Instances details

StringLike s => Show (GenRegex s) # |
Instance details Defined in Text.Regex.XMLSchema.Generic.Regex Methods showsPrec :: Int -> GenRegex s -> ShowS # show :: GenRegex s -> String # showList :: [GenRegex s] -> ShowS #
Eq s => Eq (GenRegex s) # |
Instance details Defined in Text.Regex.XMLSchema.Generic.Regex Methods (==) :: GenRegex s -> GenRegex s -> Bool # (/=) :: GenRegex s -> GenRegex s -> Bool #
Ord s => Ord (GenRegex s) # |
Instance details Defined in Text.Regex.XMLSchema.Generic.Regex Methods compare :: GenRegex s -> GenRegex s -> Ordering # (<) :: GenRegex s -> GenRegex s -> Bool # (<=) :: GenRegex s -> GenRegex s -> Bool # (>) :: GenRegex s -> GenRegex s -> Bool # (>=) :: GenRegex s -> GenRegex s -> Bool # max :: GenRegex s -> GenRegex s -> GenRegex s # min :: GenRegex s -> GenRegex s -> 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 #

parse a glob pattern

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