Data.String.Regex.Unsafe - purescript-strings - Pursuit (original) (raw)

unsafeRegex :: String -> RegexFlags -> Regex

Constructs a Regex from a pattern string and flags. Fails with an exception if the pattern contains a syntax error.