better flip logic fixes Issue #73

This commit is contained in:
Peter Cottle 2013-03-07 20:49:44 -08:00
parent 0332d92513
commit 44db45ce0d
7 changed files with 37 additions and 16 deletions

View file

@ -8,8 +8,8 @@ var genBadKeyCommand = function(key) {
return 'grep -r "' + key + '" ../../';
};
var easyRegex = /intl.str\('([a-zA-Z-]+)'/g;
var hardRegex = /\s+'([a-z-]+)',/g;
var easyRegex = /intl.str\('([a-zA-Z\-]+)'/g;
var hardRegex = /\s+'([a-z\-]+)',/g;
var findKey = function(badKey) {
child_process.exec(genBadKeyCommand(badKey), function(err, output) {