Skip to content
On this page

reg.source

js
var regex = /fooBar/ig;

console.log(regex.source); // "fooBar",不包含 /.../ 和 "ig"。

自动发版 semantic-release