isprofanity
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -74,3 +74,3 @@ fs = require('fs'); | ||
async.each(strings,function(word,callback) { | ||
word = word.replace(/\b[-.,()&$#!\[\]{}"']+\B|\B[-.,()&$#!\[\]{}"']+\b/g, ""); | ||
word = word.replace(/\b[-.,()&$#:!\[\]{}"']+\B|\B[-.,()&$#:!\[\]{}"']+\b/g, ""); | ||
var WorstSwear = new Word(); | ||
@@ -77,0 +77,0 @@ var mostlikelyexception = new Word(); |
{ | ||
"name": "isprofanity", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "A profanity checker which, unlike alternatives, uses the Wagner–Fischer algorithm in order to catch variations that you haven't thought of. ", | ||
@@ -5,0 +5,0 @@ "main": "isProfanity.js", |
3720934