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 |
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
Instances
Eq s => Eq (GenRegex s) Source # | |
Ord s => Ord (GenRegex s) Source # | |
Defined in Text.Regex.XMLSchema.Generic.Regex | |
StringLike s => Show (GenRegex s) 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 #