Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ascii vs Utf8 modules
for reliable results with Utf8 pattern or body, use Text.Regex.Do.Pcre.Utf8.Replace
Documentation
class Replace all a repl b where Source
Repl_ [] a repl b => Replace All a repl b Source | to tweak regex with dynamic group replacecustom replacer fn returns replacement value. See
"a=[1 0 1] b=[ 3 ] 12" |
Repl_ Maybe a repl b => Replace Once a repl b Source | static replace for simple (no group) needlefor no-regex
"Abc" dynamic group replace
"a=[1 0 1] b=3 12" |