The script doesn't handle an open parenthesis, (, without a closing parenthesis, ), in the game name. The script just stops when the regexp checks the name of the game.
i was able to get around it by adding the following code to two lines .replace("(", "\\(").replace(")", "\\)")
original var rematch=new RegExp(gamelist[ti].name,"i").test(possibleentries[ei].name); new var rematch=new RegExp(gamelist[ti].name.replace("(", "\\(").replace(")", "\\)"),"i").test(possibleentries[ei].name);
original if(RegExp(gamelist[gi].name,"i").test(name)==true) { new if(RegExp(gamelist[gi].name.replace("(", "\\(").replace(")", "\\)"),"i").test(name)==true) {
open ( without a closing ) in game name in list
The script doesn't handle an open parenthesis, (, without a closing parenthesis, ), in the game name. The script just stops when the regexp checks the name of the game.
i was able to get around it by adding the following code to two lines
.replace("(", "\\(").replace(")", "\\)")
original
var rematch=new RegExp(gamelist[ti].name,"i").test(possibleentries[ei].name);
new
var rematch=new RegExp(gamelist[ti].name.replace("(", "\\(").replace(")", "\\)"),"i").test(possibleentries[ei].name);
original
if(RegExp(gamelist[gi].name,"i").test(name)==true) {
new
if(RegExp(gamelist[gi].name.replace("(", "\\(").replace(")", "\\)"),"i").test(name)==true) {