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