molily: Ecma-262 / 15.5.4.12 String.prototype.search (regexp)

Beitrag lesen

Hallo,

If regexp is not an object whose [[Class]] property is "RegExp",
          it is replaced with the result of the expression new RegExp(regexp).

Oh, danke, das habe ich tatsächlich überlesen.

Mathias