MCPcopy Index your code
hub / github.com/dataease/SQLBot / _cloneRegExp

Function _cloneRegExp

frontend/public/swagger-ui-bundle.js:39291–39303  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

39289 const Qo = _curry3(function pathSatisfies(s, o, i) {
39290 return s(_path(o, i))
39291 })
39292 function _cloneRegExp(s) {
39293 return new RegExp(
39294 s.source,
39295 s.flags
39296 ? s.flags
39297 : (s.global ? 'g' : '') +
39298 (s.ignoreCase ? 'i' : '') +
39299 (s.multiline ? 'm' : '') +
39300 (s.sticky ? 'y' : '') +
39301 (s.unicode ? 'u' : '') +
39302 (s.dotAll ? 's' : '')
39303 )
39304 }
39305 function _arrayFromIterator(s) {
39306 for (var o, i = []; !(o = s.next()).done; ) i.push(o.value)

Callers 2

_cloneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected