Use the compile() method with a regular expression that is created with the constructor function, not the literal notation. Example. var regobj = new RegExp(" ...
確定! 回上一頁