This is weird... I simply can\'t figure it out:
var word = "hello"; var re = new RegExp("hello", "g"); alert(re.test(word)); if (re.