regex-do
Convenience functions to format, search, replace (String | ByteString) with PCRE regex
example functions:
"Polly {0} a {1}" < ["got","cracker"]
"Polly got a cracker"
"ΠΎΠ²ΡΠΈΠ½ΠΊΠ° {a} Π½Π΅ {b}" < [("a","Π²ΡΠ΄Π΅Π»ΠΊΠΈ"),("b","ΡΡΠΎΠΈΡ")]
"ΠΎΠ²ΡΠΈΠ½ΠΊΠ° Π²ΡΠ΄Π΅Π»ΠΊΠΈ Π½Π΅ ΡΡΠΎΠΈΡ"
replace (Once "ΠΌΠ΅Π½Π΅Π΅") "Π±ΠΎΠ»Π΅Π΅" "ΠΌΠ΅Π½Π΅Π΅ ΠΌΠ΅Π½Π΅Π΅"
"Π±ΠΎΠ»Π΅Π΅ ΠΌΠ΅Π½Π΅Π΅"
"\n" / "a\nbc\nde"
["a", "bc", "de"]
trim " aiy \n pdsodfg987 "
"aiy \n pdsodfg987"