    -- ------------------------------------------------------------

    {- |
       Module     : Text.Regex.Glob.String
       Copyright  : Copyright (C) 2011- Uwe Schmidt
       License    : MIT

       Maintainer : Uwe Schmidt <uwe@fh-wedel.de>
       Stability  : stable
       Portability: portable

       csh glob style pattern matcher
    -}

    -- ------------------------------------------------------------

    module Text.Regex.Glob.Generic
        ( GenRegex
        , Regex
        , RegexText
        , RegexTextLazy
        , RegexByteString
        , RegexByteStringLazy
        , match
        , matchNoCase
        , parseRegex
        , parseRegexNoCase
        )
    where

    import Text.Regex.Glob.Generic.RegexParser     (parseRegex, parseRegexNoCase)
    import Text.Regex.XMLSchema.Generic.Regex      (matchWithRegex)
    import Text.Regex.XMLSchema.Generic.StringLike
    import Text.Regex.XMLSchema.Generic            (GenRegex,
                                                    Regex,
                                                    RegexText,
                                                    RegexTextLazy,
                                                    RegexByteString,
                                                    RegexByteStringLazy
                                                   )

    -- ------------------------------------------------------------

    match           :: StringLike s => s -> s -> Bool
    match :: forall s. StringLike s => s -> s -> Bool
    match           = GenRegex s -> s -> Bool
    forall s. StringLike s => GenRegex s -> s -> Bool
    matchWithRegex (GenRegex s -> s -> Bool) -> (s -> GenRegex s) -> s -> s -> Bool
    forall b c a. (b -> c) -> (a -> b) -> a -> c
    . s -> GenRegex s
    forall s. StringLike s => s -> GenRegex s
    parseRegex

    matchNoCase     :: StringLike s => s -> s -> Bool
    matchNoCase :: forall s. StringLike s => s -> s -> Bool
    matchNoCase     = GenRegex s -> s -> Bool
    forall s. StringLike s => GenRegex s -> s -> Bool
    matchWithRegex (GenRegex s -> s -> Bool) -> (s -> GenRegex s) -> s -> s -> Bool
    forall b c a. (b -> c) -> (a -> b) -> a -> c
    . s -> GenRegex s
    forall s. StringLike s => s -> GenRegex s
    parseRegexNoCase

    -- ------------------------------------------------------------