You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
var MATCH = require('./$.wks')('match'); |
|
module.exports = function(KEY){ |
|
var re = /./; |
|
try { |
|
'/./'[KEY](re); |
|
} catch(e){ |
|
try { |
|
re[MATCH] = false; |
|
return !'/./'[KEY](re); |
|
} catch(f){ /* empty */ } |
|
} return true; |
|
}; |