Expected:
Console should display:
```javascript
'Mick Jagger'
'Dick Tracy'
Actual:
Console displays:
'**** Jagger'
'**** Tracy'
This is affecting a use case where thousands of license texts are processed with this module and at least one of the authors' first names is Mick. Perhaps an easy solution to this would be to add a new category to these specific entries and allow excluding that category when methods of swearjar are called.
Steps to reproduce:
swearjar-node
(I did so by runningnpm install --no-save swearjar
in an empty temporary directory)swearjar.censor('Mick Jagger') swearjar.censor('Dick Tracy')
Actual:
Console displays:
This is affecting a use case where thousands of license texts are processed with this module and at least one of the authors' first names is Mick. Perhaps an easy solution to this would be to add a new category to these specific entries and allow excluding that category when methods of
swearjar
are called.