Module
Data.String.Regex
- Package
- purescript-strings
- Repository
- purescript/purescript-strings
Wraps Javascript's RegExp
object that enables matching strings with
patternes defined by regular expressions.
For details of the underlying implementation, see RegExp Reference at MDN.
#flags Source
flags :: Regex -> RegexFlags
Returns the RegexFlags
used to construct the given Regex
.
#renderFlags Source
renderFlags :: RegexFlags -> String
Returns the string representation of the given RegexFlags
.
#parseFlags Source
parseFlags :: String -> RegexFlags
Parses the string representation of RegexFlags
.