Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 313B

123456789101112131415161718
  1. #regexp-clone
  2. ==============
  3. Clones RegExps with flag preservation
  4. ```js
  5. var regexpClone = require('regexp-clone');
  6. var a = /somethin/g;
  7. console.log(a.global); // true
  8. var b = regexpClone(a);
  9. console.log(b.global); // true
  10. ```
  11. ## License
  12. [MIT](https://github.com/aheckmann/regexp-clone/blob/master/LICENSE)