# Report
[Back to the main file](../RS.md)
## Parameters:


**Path:** [/usr/local/lib/node_modules](/usr/local/lib/node_modules)

Looking for regex in ***.js** files

Listing regex with backreferences

## Skipped files:


We skipped the following files in this report:

1. ajv.min.js

1. nodent.min.js

1. regenerator.min.js

1. prettify.js

1. psl.min.js

1. bluebird.min.js

1. source-map.min.js

1. bluebird.core.min.js

## Non-skipped files:

**File**: [/usr/local/lib/node_modules/npm/node_modules/hosted-git-info/git-host-info.js](https://github.com/npm/hosted-git-info/blob/latest/git-host-info.js)

* ***Regex***: `/([\\+*{}()[\]$^|])/g`

* ***Backreference***: true

* ***Variable name***: protocol

* ***Description***: not available

* ***Row, instruction***: 73,	`return protocol.replace(/([\\+*{}()[\]$^|])/g, '\\$1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/run-queue/node_modules/aproba/index.js](https://github.com/iarna/aproba/blob/master/index.js)

* ***Regex***: `/, ([^,]+)$/`

* ***Backreference***: true

* ***Variable name***: list

* ***Description***: not available

* ***Row, instruction***: 84,	`return list.join(', ').replace(/, ([^,]+)$/, ' or $1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/lodash.union/index.js](https://github.com/vertingo/jeanf-koi-/blob/master/node_modules/npm/node_modules/lodash.union/index.js)

* ***Regex***: `/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 265,	`.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/spdx-correct/index.js](https://github.com/jslicense/spdx-correct.js/blob/master/index.js)

* ***Regex***: `/,?\s*(\d)/`

* ***Backreference***: true

* ***Variable name***: argument

* ***Description***: not available

* ***Row, instruction***: 87,	`return argument.replace(/,?\s*(\d)/, '-$1')`

---


* ***Regex***: `/,?\s*(\d)/`

* ***Backreference***: true

* ***Variable name***: argument

* ***Description***: not available

* ***Row, instruction***: 91,	`return argument.replace(/,?\s*(\d)/, '-$1.0')`

---


* ***Regex***: `/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 96,	`.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/, '-$2')`

---


* ***Regex***: `/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 101,	`.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/, '-$2.0')`

---


* ***Regex***: `/\s*V\s*(\d)/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 114,	`.replace(/\s*V\s*(\d)/, '-$1')`

---


* ***Regex***: `/(\d)$/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 115,	`.replace(/(\d)$/, '$1.0')`

---


* ***Regex***: `/(\d)$/`

* ***Backreference***: true

* ***Variable name***: argument

* ***Description***: not available

* ***Row, instruction***: 131,	`return argument.replace(/(\d)$/, '-$1.0')`

---


* ***Regex***: `/(-| )?(\d)$/`

* ***Backreference***: true

* ***Variable name***: argument

* ***Description***: not available

* ***Row, instruction***: 135,	`return argument.replace(/(-| )?(\d)$/, '-$2-Clause')`

---


* ***Regex***: `/(-| )clause(-| )(\d)/`

* ***Backreference***: true

* ***Variable name***: argument

* ***Description***: not available

* ***Row, instruction***: 139,	`return argument.replace(/(-| )clause(-| )(\d)/, '-$3-Clause')`

---


* ***Regex***: `/ (\d)/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 155,	`.replace(/ (\d)/, '-$1')`

---


* ***Regex***: `/ (\d)/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 165,	`.replace(/ (\d)/, '-$1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/decamelize/index.js](https://github.com/sindresorhus/decamelize/blob/master/index.js)

* ***Regex***: `/([a-z\d])([A-Z])/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 10,	`.replace(/([a-z\d])([A-Z])/g, '$1' + sep + '$2')`

---


* ***Regex***: `/([A-Z]+)([A-Z][a-z\d]+)/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 11,	`.replace(/([A-Z]+)([A-Z][a-z\d]+)/g, '$1' + sep + '$2')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/qs/dist/qs.js](https://github.com/ljharb/qs/blob/master/dist/qs.js)

* ***Regex***: `/\.([^.[]+)/g`

* ***Backreference***: true

* ***Variable name***: givenKey

* ***Description***: not available

* ***Row, instruction***: 123,	`var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/qs/lib/parse.js](https://github.com/ljharb/qs/blob/master/lib/parse.js)

* ***Regex***: `/\.([^.[]+)/g`

* ***Backreference***: true

* ***Variable name***: givenKey

* ***Description***: not available

* ***Row, instruction***: 89,	`var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/encoding/lib/encoding.js](https://github.com/andris9/encoding/blob/master/lib/encoding.js)

* ***Regex***: `/^latin[\-_]?(\d+)$/i`

* ***Backreference***: true

* ***Variable name***: var_name not defined yet

* ***Description***: not available

* ***Row, instruction***: 107,	`replace(/^latin[\-_]?(\d+)$/i, 'ISO-8859-$1').`

---


* ***Regex***: `/^win(?:dows)?[\-_]?(\d+)$/i`

* ***Backreference***: true

* ***Variable name***: var_name not defined yet

* ***Description***: not available

* ***Row, instruction***: 108,	`replace(/^win(?:dows)?[\-_]?(\d+)$/i, 'WINDOWS-$1').`

---


* ***Regex***: `/^utf[\-_]?(\d+)$/i`

* ***Backreference***: true

* ***Variable name***: var_name not defined yet

* ***Description***: not available

* ***Row, instruction***: 109,	`replace(/^utf[\-_]?(\d+)$/i, 'UTF-$1').`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/lodash._createset/index.js](https://github.com/nodejs/node/blob/master/deps/npm/node_modules/lodash._createset/index.js)

* ***Regex***: `/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 130,	`.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/lodash._getnative/index.js](https://github.com/ror-community/ror-app/blob/master/node_modules/lodash._getnative/index.js)

* ***Regex***: `/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 45,	`.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/aproba/index.js](https://github.com/iarna/aproba/blob/master/index.js)

* ***Regex***: `/, ([^,]+)$/`

* ***Backreference***: true

* ***Variable name***: list

* ***Description***: not available

* ***Row, instruction***: 83,	`return list.join(', ').replace(/, ([^,]+)$/, ' or $1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/minimatch/minimatch.js](https://github.com/isaacs/minimatch/blob/master/minimatch.js)

* ***Regex***: `/((?:\\{2}){0,64})(\\?)\|/g`

* ***Backreference***: true

* ***Variable name***: tail

* ***Description***: not available

* ***Row, instruction***: 524,	`tail = tail.replace(/((?:\\{2}){0,64})(\\?)\|/g, function (_, $1, $2) {`

---


* ***Regex***: `/\\(.)/g`

* ***Backreference***: true

* ***Variable name***: s

* ***Description***: not available

* ***Row, instruction***: 918,	`return s.replace(/\\(.)/g, '$1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/lodash._baseuniq/index.js](https://chromium.googlesource.com/external/github.com/v8/node/+/v5.5.0/deps/npm/node_modules/lodash._baseuniq/index.js)

* ***Regex***: `/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 179,	`.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/gauge/node_modules/aproba/index.js](https://github.com/iarna/aproba/blob/master/index.js)

* ***Regex***: `/, ([^,]+)$/`

* ***Backreference***: true

* ***Variable name***: list

* ***Description***: not available

* ***Row, instruction***: 84,	`return list.join(', ').replace(/, ([^,]+)$/, ' or $1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/copy-concurrently/node_modules/aproba/index.js](https://diff.intrinsic.com/npm/6.5.0/6.9.0#file-node_modules__copy-concurrently__node_modules__aproba__LICENSE)

* ***Regex***: `/, ([^,]+)$/`

* ***Backreference***: true

* ***Variable name***: list

* ***Description***: not available

* ***Row, instruction***: 84,	`return list.join(', ').replace(/, ([^,]+)$/, ' or $1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/gentle-fs/node_modules/aproba/index.js](https://www.deepcode.ai/app/gh/npm/cli/44ddd0b528732028ea4f38ef15b5826f3f4e2ec1/_/%2Fnode_modules%2Fgentle-fs%2Fnode_modules%2Faproba%2Findex.js/code)

* ***Regex***: `/, ([^,]+)$/`

* ***Backreference***: true

* ***Variable name***: list

* ***Description***: not available

* ***Row, instruction***: 84,	`return list.join(', ').replace(/, ([^,]+)$/, ' or $1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/sshpk/lib/fingerprint.js](https://github.com/joyent/node-sshpk/blob/master/lib/fingerprint.js)

* ***Regex***: `/(.{2})(?=.)/g`

* ***Backreference***: true

* ***Variable name***: s

* ***Description***: not available

* ***Row, instruction***: 135,	`return (s.replace(/(.{2})(?=.)/g, '$1:'));`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/cross-spawn/lib/util/escapeArgument.js](https://github.com/moxystudio/node-cross-spawn/blob/master/lib/util/escape.js)

* ***Regex***: `/([()%!^<>&|;,"'\s])/g`

* ***Backreference***: true

* ***Variable name***: arg

* ***Description***: not available

* ***Row, instruction***: 10,	`arg = arg.replace(/([()%!^<>&|;,"'\s])/g, '^$1');`

---


* ***Regex***: `/(\\*)"/g`

* ***Backreference***: true

* ***Variable name***: arg

* ***Description***: not available

* ***Row, instruction***: 14,	`arg = arg.replace(/(\\*)"/g, '$1$1\\"');`

---


* ***Regex***: `/(\\*)$/`

* ***Backreference***: true

* ***Variable name***: arg

* ***Description***: not available

* ***Row, instruction***: 19,	`arg = arg.replace(/(\\*)$/, '$1$1');`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/bin-links/index.js](http://www.uhobby.co/ssTicketsAssignment/node_modules/npm/node_modules/bin-links/index.js)

* ***Regex***: `/^(#![^\n]+)\r\n/`

* ***Backreference***: true

* ***Variable name***: content

* ***Description***: not available

* ***Row, instruction***: 62,	`return writeFileAtomic(file, content.replace(/^(#![^\n]+)\r\n/, '$1\n'))`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/request/lib/multipart.js](https://github.com/request/request/blob/master/lib/multipart.js)

* ***Regex***: `/.*boundary=([^\s;]+).*/`

* ***Backreference***: true

* ***Variable name***: header

* ***Description***: not available

* ***Row, instruction***: 59,	`self.boundary = header.replace(/.*boundary=([^\s;]+).*/, '$1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/yargs/yargs.js](https://github.com/yargs/yargs/blob/master/yargs.js)

* ***Regex***: `/^\$0( |$)/`

* ***Backreference***: true

* ***Variable name***: ((msg || '')

* ***Description***: not available

* ***Row, instruction***: 437,	`if ((msg || '').match(/^\$0( |$)/)) {`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/yargs/lib/completion.js](https://github.com/yargs/yargs/blob/master/lib/completion.ts)

* ***Regex***: `/\.js$/)) $0 = `./`

* ***Backreference***: true

* ***Variable name***: 0

* ***Description***: not available

* ***Row, instruction***: 89,	`if ($0.match(/\.js$/)) $0 = `./${$0}``

---


* ***Regex***: `/{{app_path}}/g`

* ***Backreference***: true

* ***Variable name***: script

* ***Description***: not available

* ***Row, instruction***: 93,	`return script.replace(/{{app_path}}/g, $0)`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/yargs/lib/command.js](https://github.com/yargs/yargs/blob/master/lib/command.ts)

* ***Regex***: `/^[^[\]<>]*/`

* ***Backreference***: true

* ***Variable name***: defaultCommand

* ***Description***: not available

* ***Row, instruction***: 270,	`? defaultCommand.original : defaultCommand.original.replace(/^[^[\]<>]*/, '$0 ')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/yargs/lib/validation.js](https://github.com/yargs/yargs/blob/master/lib/validation.ts)

* ***Regex***: `/\$0/g, _s).replace(/\$1/`

* ***Backreference***: true

* ***Variable name***: demandedCommands

* ***Description***: not available

* ***Row, instruction***: 25,	`demandedCommands._.minMsg ? demandedCommands._.minMsg.replace(/\$0/g, _s).replace(/\$1/, demandedCommands._.min) : null`

---


* ***Regex***: `/\$0/g, _s).replace(/\$1/`

* ***Backreference***: true

* ***Variable name***: demandedCommands

* ***Description***: not available

* ***Row, instruction***: 36,	`demandedCommands._.maxMsg ? demandedCommands._.maxMsg.replace(/\$0/g, _s).replace(/\$1/, demandedCommands._.max) : null`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/yargs/lib/usage.js](https://github.com/yargs/yargs/blob/master/lib/usage.ts)

* ***Regex***: `/\$0/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 177,	`ui.div(`${usage[0].replace(/\$0/g, base$0)}`)`

---


* ***Regex***: `/^\$0 ?/, '')}` //`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 204,	`const commandString = `${base$0} ${parentCommands}${command[0].replace(/^\$0 ?/, '')}` // drop $0 from default commands.`

---


* ***Regex***: `/\$0/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 309,	`example[0] = example[0].replace(/\$0/g, base$0)`

---


* ***Regex***: `/\$0/g`

* ***Backreference***: true

* ***Variable name***: epilog

* ***Description***: not available

* ***Row, instruction***: 338,	`const e = epilog.replace(/\$0/g, base$0)`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/move-concurrently/node_modules/aproba/index.js](https://viewpharma-expert.orisonm.fr/node_modules/npm/node_modules/aproba/index.js)

* ***Regex***: `/, ([^,]+)$/`

* ***Backreference***: true

* ***Variable name***: list

* ***Description***: not available

* ***Row, instruction***: 84,	`return list.join(', ').replace(/, ([^,]+)$/, ' or $1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/lodash.without/index.js](https://chromium.googlesource.com/external/github.com/v8/node/+/v5.5.0/deps/npm/node_modules/lodash.without/index.js)

* ***Regex***: `/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 260,	`.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/ip/lib/ip.js](https://github.com/indutny/node-ip/blob/master/lib/ip.js)

* ***Regex***: `/(^|:)0(:0)*:0(:|$)/`

* ***Backreference***: true

* ***Variable name***: result

* ***Description***: not available

* ***Row, instruction***: 80,	`result = result.replace(/(^|:)0(:0)*:0(:|$)/, '$1::$3');`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/npm-package-arg/npa.js](https://github.com/npm/npm-package-arg/blob/latest/npa.js)

* ***Regex***: `/^file:[/]*([A-Za-z]:)/, '$1') //`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 173,	`.replace(/^file:[/]*([A-Za-z]:)/, '$1') // drive name paths on windows`

---


* ***Regex***: `/^file:(?:[/]*([~./]))?/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 174,	`.replace(/^file:(?:[/]*([~./]))?/, '$1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/tar/lib/pax.js](https://github.com/npm/node-tar/blob/master/lib/pax.js)

* ***Regex***: `/^SCHILY\.(dev|ino|nlink)/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 134,	`const k = kv.shift().replace(/^SCHILY\.(dev|ino|nlink)/, '$1')`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/debug/src/browser.js](https://github.com/visionmedia/debug/blob/master/src/browser.js)

* ***Regex***: `/firefox\/(\d+)/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 64,	`(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/lodash.uniq/index.js](https://github.com/jimhester/pr-fetch/blob/master/node_modules/lodash.uniq/index.js)

* ***Regex***: `/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 224,	`.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/lodash.clonedeep/index.js](https://github.com/nodejs/node/blob/master/deps/npm/node_modules/lodash.clonedeep/index.js)

* ***Regex***: `/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 319,	`.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'`

---


**File**: [/usr/local/lib/node_modules/npm/node_modules/worker-farm/tests/index.js](https://github.com/rvagg/node-worker-farm/blob/master/tests/index.js)

* ***Regex***: `/^v(\d+)\..*$/`

* ***Backreference***: true

* ***Variable name***: process

* ***Description***: not available

* ***Row, instruction***: 603,	`, debugArg = process.version.replace(/^v(\d+)\..*$/, '$1') >= 8 ? '--inspect' : '--debug=8881'`

---


**File**: [/usr/local/lib/node_modules/npm/docs/src/components/DocLinks.js](https://read.mygate.com/node_modules/npm/docs/src/components/DocLinks.js)

* ***Regex***: `/(npm-)+([a-zA-Z\\.-]*)/`

* ***Backreference***: true

* ***Variable name***: linkData

* ***Description***: not available

* ***Row, instruction***: 32,	`? linkData.frontmatter.title.replace(/(npm-)+([a-zA-Z\\.-]*)/, 'npm $2')`

---


**File**: [/usr/local/lib/node_modules/npm/docs/src/templates/Page.js](https://github.com/npm)

* ***Regex***: `/(npm-)+([a-zA-Z\\.-]*)(\((1|5|7)\))<\/h1>/, 'npm $2</h1`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 17,	`.replace(/(npm-)+([a-zA-Z\\.-]*)(\((1|5|7)\))<\/h1>/, 'npm $2</h1>')`

---


* ***Regex***: `/([a-zA-Z\\.-]*)(\((1|5|7)\))<\/h1>/, '$1</h1`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 18,	`.replace(/([a-zA-Z\\.-]*)(\((1|5|7)\))<\/h1>/, '$1</h1>')`

---


**File**: [/usr/local/lib/node_modules/npm/scripts/changelog.js](https://www.deepcode.ai/app/gh/npm/cli/44ddd0b528732028ea4f38ef15b5826f3f4e2ec1/_/%2Fscripts%2Fchangelog.js/javascript%2Fdc%2FReplacementRegex/50/code)

* ***Regex***: `/^(\s*[^@\s]+@\d+[.]\d+[.]\d+)(\s*\S)/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 56,	`.replace(/^(\s*[^@\s]+@\d+[.]\d+[.]\d+)(\s*\S)/g, '$1:$2')`

---


* ***Regex***: `/\b([^@\s]+@\d+[.]\d+[.]\d+)\b/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 57,	`.replace(/\b([^@\s]+@\d+[.]\d+[.]\d+)\b/g, '`$1`')`

---


* ***Regex***: `/\b([a-f0-9]{7,8})\b/g, '[`$1`](https://github.com/npm/cli/commit/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 59,	`.replace(/\b([a-f0-9]{7,8})\b/g, '[`$1`](https://github.com/npm/cli/commit/$1)')`

---


* ***Regex***: `/\b#(\d+)\b/g, '[#$1](https://npm.community/t/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 60,	`.replace(/\b#(\d+)\b/g, '[#$1](https://npm.community/t/$1)')`

---


**File**: [/usr/local/lib/node_modules/npm/scripts/docs-build.js](https://github.com/npm/cli/blob/latest/scripts/docs-build.js)

* ***Regex***: `/(# .*)\s+(## (.*))/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 22,	`.replace(/(# .*)\s+(## (.*))/g, '$1 - $3')`

---


**File**: [/usr/local/lib/node_modules/npm/lib/install/inflate-shrinkwrap.js](https://github.com/npm)

* ***Regex***: `/([^A-Za-z_0-9/])/g`

* ***Backreference***: true

* ***Variable name***: str

* ***Description***: not available

* ***Row, instruction***: 73,	`return str.replace(/([^A-Za-z_0-9/])/g, '\\$1')`

---


* ***Regex***: `/([^/])$/, '$1/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 79,	`.replace(/([^/])$/, '$1/')`

---


**File**: [/usr/local/lib/node_modules/npm/lib/utils/error-message.js](https://github.com/npm/cli/blob/latest/lib/utils/error-message.js)

* ***Regex***: `/(^|\n)/g`

* ***Backreference***: true

* ***Variable name***: (msg[1]) msg[1] = msg[1]

* ***Description***: not available

* ***Row, instruction***: 417,	`if (msg[1]) msg[1] = msg[1].toString().replace(/(^|\n)/g, '$1SKIPPING OPTIONAL DEPENDENCY: ')`

---


**File**: [/usr/local/lib/node_modules/npm/lib/init.js](https://github.com/npm/cli/blob/latest/lib/init.js)

* ***Regex***: `/^(@[^/]+\/)?/`

* ***Backreference***: true

* ***Variable name***: req

* ***Description***: not available

* ***Row, instruction***: 37,	`packageName = req.name.replace(/^(@[^/]+\/)?/, '$1create-')`

---


**File**: [/usr/local/lib/node_modules/npm/lib/repo.js](https://github.com/npm/cli/blob/latest/lib/repo.js)

* ***Regex***: `/:([^\d]+)/, '/`

* ***Backreference***: true

* ***Variable name***: url

* ***Description***: not available

* ***Row, instruction***: 41,	`url = url.slice(idx + 1).replace(/:([^\d]+)/, '/$1')`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/file-uri-to-path/index.js](https://github.com/TooTallNate/file-uri-to-path/blob/master/src/index.ts)

* ***Regex***: `/^(.+)\|/`

* ***Backreference***: true

* ***Variable name***: path

* ***Description***: not available

* ***Row, instruction***: 51,	`path = path.replace(/^(.+)\|/, '$1:');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/to-regex/index.js](https://github.com/jonschlinkert/to-regex/blob/master/index.js)

* ***Regex***: `/(\W)/g`

* ***Backreference***: true

* ***Variable name***: pattern

* ***Description***: not available

* ***Row, instruction***: 108,	`regex = new RegExp('^' + pattern.replace(/(\W)/g, '\\$1') + '$');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/expand-brackets/lib/compilers.js](https://github.com/micromatch/expand-brackets/blob/master/lib/compilers.js)

* ***Regex***: `/([{}])/g`

* ***Backreference***: true

* ***Variable name***: node

* ***Description***: not available

* ***Row, instruction***: 21,	`return this.emit(node.val.replace(/([{}])/g, '\\$1'), node);`

---


* ***Regex***: `/\\([1-9])/g`

* ***Backreference***: true

* ***Variable name***: inner

* ***Description***: not available

* ***Row, instruction***: 77,	`inner = inner.replace(/\\([1-9])/g, '$1');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/bcryptjs/tests/suite.js](https://github.com/dcodeIO/bcrypt.js/blob/master/tests/suite.js)

* ***Regex***: `/\$2a\$/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 62,	`var salt2 = bcrypt.genSaltSync().replace(/\$2a\$/, "$2y$"),`

---


* ***Regex***: `/\$2a\$/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 64,	`var salt3 = bcrypt.genSaltSync().replace(/\$2a\$/, "$2b$"),`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/faye-websocket/lib/faye/eventsource.js](https://github.com/faye/faye-websocket-node/blob/master/lib/faye/eventsource.js)

* ***Regex***: `/(\r\n|\r|\n)/g`

* ***Backreference***: true

* ***Variable name***: String(message)

* ***Description***: not available

* ***Row, instruction***: 99,	`message = String(message).replace(/(\r\n|\r|\n)/g, '$1data: ');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/proxy-middleware/index.js](https://github.com/gonzalocasas/node-proxy-middleware/blob/master/index.js)

* ***Regex***: `/(Domain)=[a-z\.-_]*?(;|$)/gi`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 110,	`var rewrittenCookie = existingCookies[i].replace(/(Domain)=[a-z\.-_]*?(;|$)/gi, '$1=' + rewriteHostname + '$2');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/micromatch/lib/parsers.js](https://www.npmjs.com/package/micromatch)

* ***Regex***: `/([[\]^$])/g`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 66,	`var val = m[0].replace(/([[\]^$])/g, '\\$1');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/pascalcase/index.js](https://github.com/jonschlinkert/pascalcase/blob/master/index.js)

* ***Regex***: `/([A-Z])/g`

* ***Backreference***: true

* ***Variable name***: str

* ***Description***: not available

* ***Row, instruction***: 12,	`str = str.replace(/([A-Z])/g, ' $1');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/braces/lib/parsers.js](https://github.com/npm)

* ***Regex***: `/\\([{}])/g`

* ***Backreference***: true

* ***Variable name***: node

* ***Description***: not available

* ***Row, instruction***: 59,	`node.val = node.val.replace(/\\([{}])/g, '$1');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/braces/lib/utils.js](https://github.com/npm)

* ***Regex***: `/\\?([!^*?()[\]{}+?/])/g`

* ***Backreference***: true

* ***Variable name***: str

* ***Description***: not available

* ***Row, instruction***: 342,	`return str.replace(/\\?([!^*?()[\]{}+?/])/g, '\\$1');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/braces/lib/compilers.js](https://github.com/npm)

* ***Regex***: `/\\([,.])/g`

* ***Backreference***: true

* ***Variable name***: val

* ***Description***: not available

* ***Row, instruction***: 100,	`val = val.replace(/\\([,.])/g, '$1');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/fsevents/node_modules/aproba/index.js](http://134.175.88.185/node_modules/fsevents/node_modules/aproba/index.js)

* ***Regex***: `/, ([^,]+)$/`

* ***Backreference***: true

* ***Variable name***: list

* ***Description***: not available

* ***Row, instruction***: 84,	`return list.join(', ').replace(/, ([^,]+)$/, ' or $1')`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/fsevents/node_modules/minimatch/minimatch.js](http://134.175.88.185/node_modules/fsevents/node_modules/minimatch/minimatch.js)

* ***Regex***: `/((?:\\{2}){0,64})(\\?)\|/g`

* ***Backreference***: true

* ***Variable name***: tail

* ***Description***: not available

* ***Row, instruction***: 524,	`tail = tail.replace(/((?:\\{2}){0,64})(\\?)\|/g, function (_, $1, $2) {`

---


* ***Regex***: `/\\(.)/g`

* ***Backreference***: true

* ***Variable name***: s

* ***Description***: not available

* ***Row, instruction***: 918,	`return s.replace(/\\(.)/g, '$1')`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/fsevents/node_modules/tar/lib/pax.js](http://134.175.88.185/node_modules/fsevents/node_modules/tar/lib/pax.js)

* ***Regex***: `/^SCHILY\.(dev|ino|nlink)/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 134,	`const k = kv.shift().replace(/^SCHILY\.(dev|ino|nlink)/, '$1')`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/fsevents/node_modules/debug/dist/debug.js](http://134.175.88.185/node_modules/fsevents/node_modules/debug/dist/debug.js)

* ***Regex***: `/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || //`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 747,	`typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/fsevents/node_modules/debug/src/browser.js](http://134.175.88.185/node_modules/fsevents/node_modules/debug/src/browser.js)

* ***Regex***: `/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || //`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 48,	`typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/debug/src/browser.js](https://github.com/npm)

* ***Regex***: `/firefox\/(\d+)/`

* ***Backreference***: true

* ***Variable name***: .

* ***Description***: not available

* ***Row, instruction***: 54,	`(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/nanomatch/lib/utils.js](https://github.com/micromatch/nanomatch/blob/master/lib/utils.js)

* ***Regex***: `/\\?([+*\\/])/g`

* ***Backreference***: true

* ***Variable name***: s

* ***Description***: not available

* ***Row, instruction***: 164,	`return s.replace(/\\?([+*\\/])/g, '\\$1');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/nanomatch/lib/compilers.js](https://github.com/micromatch/nanomatch/blob/master/lib/compilers.js)

* ***Regex***: `/\\?(\W)/g`

* ***Backreference***: true

* ***Variable name***: inner

* ***Description***: not available

* ***Row, instruction***: 126,	`inner = inner.replace(/\\?(\W)/g, '\\$1');`

---


**File**: [/usr/local/lib/node_modules/live-server/node_modules/glob-parent/index.js](https://github.com/gulpjs/glob-parent/blob/master/index.js)

* ***Regex***: `/\\([\*\?\|\[\]\(\)\{\}])/g`

* ***Backreference***: true

* ***Variable name***: str

* ***Description***: not available

* ***Row, instruction***: 23,	`return str.replace(/\\([\*\?\|\[\]\(\)\{\}])/g, '$1');`

---


