anyone know why `string.search(/word1\W+word2/i)` ...
# suitescript
d
anyone know why
string.search(/word1\W+word2/i)
would fail, when string = "word1->word2" ... running SuiteScript 2.1
🤷‍♂️ 1
problem solved, Netsuite being an ass ... descriptions from a transaction have symbols encoded ... but printing to a log, it's converted back
string was actually "word1->word2"