forked from GitHub/dbot
working
This commit is contained in:
parent
0473597b0a
commit
ba2ad2649f
@ -36,7 +36,7 @@ var wikipedia = function(dbot) {
|
|||||||
|
|
||||||
body = _.filter(body, function(line) {
|
body = _.filter(body, function(line) {
|
||||||
var spaces = line.match(/\s/g);
|
var spaces = line.match(/\s/g);
|
||||||
return line != '' && !line.match(/^\s+$/) && !line.match(/^Category:/) && !line.match(/http:\/\//) && !line.match(/\|/) && spaces && spaces.length > 10 && spaces.length < 60;
|
return line != '' && !line.match(/^\s+$/) && !line.match(/^Category:/) && !line.match(/http:\/\//) && !line.match(/\|/) && !line.match(/:$/) && spaces && spaces.length > 10 && spaces.length < 60;
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(body);
|
console.log(body);
|
||||||
|
Loading…
Reference in New Issue
Block a user