change regex API to use Semigroup flags, defaults false
jamesdbrock opened this issue · 0 comments
jamesdbrock commented
the default
regexshould provide no configuration? You can then provide aregexWithFlagsversion, and partially apply it for the default caseregex = flip regexWithFlags (unicode <> dotAll).
On reflection, let's just have all of the flags set to false by default, maybe that’s less surprising.
Originally posted by @jamesdbrock in #153 (comment)