You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure about the function name though. replaceAll is taken and doesn't handle regexes - maybe we could just modify replaceAll to support regexp instead, though that would certainly break some users. I'm not sure I like regex.Replace, but... 🤔
The text was updated successfully, but these errors were encountered:
It'd be useful to have a sort of
sed
capability inside templates... Probably some simple wrapping of regexp.ReplaceAllString.The usage should be something like
regexp.Replace "expression" "replacement" "input"
:I'm not sure about the function name though.
replaceAll
is taken and doesn't handle regexes - maybe we could just modifyreplaceAll
to support regexp instead, though that would certainly break some users. I'm not sure I likeregex.Replace
, but... 🤔The text was updated successfully, but these errors were encountered: