purescript/purescript-strings

Shorthand: unsafeRegex :: String -> RegexFlags -> Regex

no-longer-on-githu-b opened this issue · 1 comments

Hard-coded regexes are so incredibly common, and there is no sensible thing to do other than crash when you got them wrong (except compiler error/warning? 😸), so I think this short-hand is very useful?

paf31 commented

Yes, agreed.