Ioannis Tsiakkas

Results 1 comments of Ioannis Tsiakkas

This fixes your problem, you make this ``\\b${word.replace(/(\W)/g, '\\$1')}\\b`` to this `\\b(\\w*${word.replace(/(\W)/g, '\\$1')}\\w*)\\b`. > notice, that some words in the json make the regex fail like *shit* for example ```javascript...