projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Version 1
[yaffs-website]
/
node_modules
/
core-js
/
modules
/
_fails-is-regexp.js
1
var MATCH = require('./_wks')('match');
2
module.exports = function(KEY){
3
var re = /./;
4
try {
5
'/./'[KEY](re);
6
} catch(e){
7
try {
8
re[MATCH] = false;
9
return !'/./'[KEY](re);
10
} catch(f){ /* empty */ }
11
} return true;
12
};