Code coverage report for lib/utils.js

Statements: 100% (2 / 2)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (2 / 2)      Ignored: none     

All files » lib/ » utils.js
1 2 3 4 5 6 7 8    1   54      
'use strict';
 
module.exports = {
  escapeRegExpSpecialChars: function(string) {
    return string.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, '\\$1');
  }
};