Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
npm /
node_modules /
is-regex /
Delete
Unzip
Name
Size
Permission
Date
Action
.jscs.json
4.04
KB
-rw-r--r--
2023-02-16 16:16
.npmignore
97
B
-rw-r--r--
2023-02-16 16:16
.travis.yml
4.66
KB
-rw-r--r--
2023-02-16 16:16
Makefile
3.74
KB
-rw-r--r--
2023-02-16 16:16
index.js
918
B
-rw-r--r--
2023-02-16 16:16
package.json
1.79
KB
-rw-r--r--
2023-02-16 16:16
test.js
1.76
KB
-rw-r--r--
2023-02-16 16:16
Save
Rename
'use strict'; var has = require('has'); var regexExec = RegExp.prototype.exec; var gOPD = Object.getOwnPropertyDescriptor; var tryRegexExecCall = function tryRegexExec(value) { try { var lastIndex = value.lastIndex; value.lastIndex = 0; regexExec.call(value); return true; } catch (e) { return false; } finally { value.lastIndex = lastIndex; } }; var toStr = Object.prototype.toString; var regexClass = '[object RegExp]'; var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; module.exports = function isRegex(value) { if (!value || typeof value !== 'object') { return false; } if (!hasToStringTag) { return toStr.call(value) === regexClass; } var descriptor = gOPD(value, 'lastIndex'); var hasLastIndexDataProperty = descriptor && has(descriptor, 'value'); if (!hasLastIndexDataProperty) { return false; } return tryRegexExecCall(value); };