1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-07-03 00:30:05 +01:00

Remove extraneous regex.

This commit is contained in:
hacksalot 2016-01-03 10:07:58 -05:00
parent 08ab512f4c
commit e45e0316f6

View File

@ -48,7 +48,7 @@ Keyword analysis for HackMyResume.
});
return rez.keywords().map(function(kw) {
var regex = new RegExp( '\\b' + regex_quote( kw )/* + '\\b'*/, 'ig');
//var regex = new RegExp( '\\b' + regex_quote( kw )/* + '\\b'*/, 'ig');
var regex = new RegExp( regex_quote( kw ), 'ig');
var myArray, count = 0;
while ((myArray = regex.exec( searchable )) !== null) {