escape.js 140 Bytes Edit Raw Blame History 1 2 3 4 5 6 'use strict'; module.exports = function (t, a) { var str = "(?:^te|er)s{2}t\\[raz]+$"; a(RegExp('^' + t(str) + '$').test(str), true); };