Vinícius Ernani de Carvalho 6c4544a079 Create the backend 6 年之前
..
test 6c4544a079 Create the backend 6 年之前
.npmignore 6c4544a079 Create the backend 6 年之前
.travis.yml 6c4544a079 Create the backend 6 年之前
History.md 6c4544a079 Create the backend 6 年之前
LICENSE 6c4544a079 Create the backend 6 年之前
Makefile 6c4544a079 Create the backend 6 年之前
README.md 6c4544a079 Create the backend 6 年之前
index.js 6c4544a079 Create the backend 6 年之前
package.json 6c4544a079 Create the backend 6 年之前

README.md

#regexp-clone

Clones RegExps with flag preservation

var regexpClone = require('regexp-clone');

var a = /somethin/g;
console.log(a.global); // true

var b = regexpClone(a);
console.log(b.global); // true

License

MIT