Plato on Github
Report Home
node_modules/es5-ext/test/reg-exp/escape.js
Maintainability
82.01
Lines of code
6
Difficulty
3.92
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function (t, a) { var str = "(?:^te|er)s{2}t\\[raz]+$"; a(RegExp('^' + t(str) + '$').test(str), true); };