Sign in
apache
/
cordova-create
/
67de95665d8f0d96e13fdd98f9cd6a69c0d9e637
/
.
/
node_modules
/
npm
/
node_modules
/
node-gyp
/
node_modules
/
path-array
/
node_modules
/
array-index
/
node_modules
/
es6-symbol
/
node_modules
/
es5-ext
/
reg-exp
/
valid-reg-exp.js
blob: d3a77641da0f862bc995190bd1aa66c9f43743b6 [
file
] [
log
] [
blame
]
'use strict'
;
var
isRegExp
=
require
(
'./is-reg-exp'
);
module
.
exports
=
function
(
x
)
{
if
(!
isRegExp
(
x
))
throw
new
TypeError
(
x
+
" is not a RegExp object"
);
return
x
;
};