Issue #3511574 by tom konda, smustgrave: Replace RegExp.test() for simple string comparison with String.prototype method possibly