#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
Name |
Last Commit
7c66ce71
–
프로젝트 진행하기 전 코드를 위해하기위한 주석달기
|
History
|
Last Update |
---|---|---|
.. | ||
test | Loading commit data... | |
.npmignore | Loading commit data... | |
.travis.yml | Loading commit data... | |
History.md | Loading commit data... | |
LICENSE | Loading commit data... | |
Makefile | Loading commit data... | |
README.md | Loading commit data... | |
index.js | Loading commit data... | |
package.json | Loading commit data... |