Copyright | (c) 2019-2020 Vaclav Svejcar |
---|---|
License | BSD-3-Clause |
Maintainer | vaclav.svejcar@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Provides wrappers mainly around functions from Text.Regex.PCRE.Light that more suits the needs of this application.
Documentation
Joins list of patterns into single regex string. If the input list is
empty, Nothing
is returned.
>>>
joinPatterns ["^foo", "^bar"]
Just "^foo|^bar"