{"ScriptPreparationCode":"// Note that var is used to take advantage of global scope\r\nvar text = \u0060{\u0022A lot more stuff than what we have before and by a lot more i don\u0027t actually mean that much more but it\u0027s still more FetchInputEventCrashTimeout\u0022:\u0022Watchdog FetchInputEvent were not being fed for 30000 milliseconds.Crash timeout was set to 30000 milliseconds.\u0022}\u0060\r\nvar regex = new RegExp(\u0027\\bWatchdog\u0027);\r\nvar regexVar = /\\bWatchdog/;","TestCases":[{"Name":"includes","Code":"const result = text.includes(\u0022Watchdog\u0022);\r\n\r\nif (result){ \r\n\tconsole.log(\u0022something\u0022);\r\n}","IsDeferred":false},{"Name":"regex","Code":"const result = text.match(/\\bWatchdog/);\r\n\r\nif (result){ \r\n\tconsole.log(\u0022something\u0022);\r\n}","IsDeferred":false},{"Name":"compiled regex","Code":"// Note, the following is included in the preperation code\r\n// var regex = new RegExp(\u0027\\bWatchdog\u0027);\r\n\r\nconst result = regex.test(text)\r\n\r\nif (result){ \r\n\tconsole.log(\u0022something\u0022);\r\n}","IsDeferred":false},{"Name":"variable regex","Code":"const result = regexVar.test(text)\r\n\r\nif (result){ \r\n\tconsole.log(\u0022something\u0022);\r\n}","IsDeferred":false}]}