MCPcopy Create free account
hub / github.com/zxlie/FeHelper / _getRegExp

Function _getRegExp

apps/regexp/index.js:1188–1194  ·  view source on GitHub ↗
(regTxt)

Source from the content-addressed store, hash-verified

1186 var TR_ID_PREFIX = 'tr_' + ID_PREFIX;
1187
1188 var _getRegExp = function (regTxt) {
1189 try {
1190 return new Function('return ' + regTxt)();
1191 } catch (e) {
1192 return null;
1193 }
1194 };
1195
1196 var _buildTable = function (rstArray) {
1197 var tbl = ["<table class='table table-bordered table-striped table-condensed table-hover'>"];

Callers 1

_dealRegMatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected