4 ms·
Could be interesting to include an optional argument callback that would receive the part of the string that's being censored and returns a string to replace th
by nukeop 9y ago
Could be interesting to include an optional argument callback that would receive the part of the string that's being censored and returns a string to replace that part of the word with - so that you can conditionally prevent censorship or censor it with something else than *.
- ateesdalejr 9y agoYou mean change it to a less offensive word? That would actually be interesting.