{"_id":"snr","_rev":"27-8b23ee3d3b529c87ce186b365a3975cb","name":"snr","description":"Simple search and replace tool.","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"snr","version":"0.1.0","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"./node_modules/.bin/mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","execSync":"~1.0.1-pre","lodash":"~2.2.1"},"devDependencies":{"chai":"~1.8.1","sandboxed-module":"~0.3.0","sinon":"~1.7.3","better-stack-traces":"~1.0.0","fs-extra":"~0.8.0","mocha":"~1.13.0"},"_id":"snr@0.1.0","dist":{"shasum":"209e2abc1c6d2f3b7afb356012ca7925a1bd8df4","tarball":"https://registry.npmjs.org/snr/-/snr-0.1.0.tgz","integrity":"sha512-0KVEvgDNOHPfTyVsgW3dE9SaneAnicCI5OaTd0ysica+CZ/Hn/OmLhBG7oJkG5/hSGPohxfQRwfMjhLpT61j1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEcImN1zTuLHOfsMzqYdpmLWRU2B9Tce1uP/7RPCru2QAiAAzJ7JJzlijvZ2tzYU8SHZcWS9VretJfBi0L0x3F1Dtg=="}]},"_from":"./","_npmVersion":"1.3.8","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}]},"0.1.1":{"name":"snr","version":"0.1.1","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"./node_modules/.bin/mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","execSync":"~1.0.1-pre","lodash":"~2.2.1"},"devDependencies":{"chai":"~1.8.1","sandboxed-module":"~0.3.0","sinon":"~1.7.3","better-stack-traces":"~1.0.0","fs-extra":"~0.8.0","mocha":"~1.13.0"},"_id":"snr@0.1.1","dist":{"shasum":"b044d3a00b0f7dee700c3199c4ee09dc1166a27e","tarball":"https://registry.npmjs.org/snr/-/snr-0.1.1.tgz","integrity":"sha512-dWOVqu3o1ycZ9Cnd653MuKBNCkQZBol40AY/3SKggUotv6EcoIswdPIasPhufOpWMTCoJD4m85WuJ2l53z5PEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZ2YYiYy/Jsi+erbEiu7bsYPlP3QQwzszHqwXtk0aJ9QIhAO7POhttZDZ8vbQkac2pLnirtxKnWFgTriuB/TRUMCJY"}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}]},"0.1.2":{"name":"snr","version":"0.1.2","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"./node_modules/.bin/mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","execSync":"~1.0.1-pre","lodash":"~2.2.1"},"devDependencies":{"chai":"~1.8.1","sandboxed-module":"~0.3.0","sinon":"~1.7.3","better-stack-traces":"~1.0.0","fs-extra":"~0.8.0","mocha":"~1.13.0"},"_id":"snr@0.1.2","dist":{"shasum":"2e47407c7577bca9900b62ab2db2ead0bd7d956f","tarball":"https://registry.npmjs.org/snr/-/snr-0.1.2.tgz","integrity":"sha512-pTEeCnrEiF6DJ/efUBL69akwlR1UsIXjCNgzZad1Atv/INHfhDr8MH4i4GgaSVt1Pk4KBmuBRnI86pdyTbXbTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAbGjg5Vp4Cq/faUiRAgni/1Xwa+lBLP9I5S/1FhBLFsAiEAyeCd/atnef8KqmfUcPuegr5rhtM4NLar+zHL9pyko1E="}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}]},"0.1.3":{"name":"snr","version":"0.1.3","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"./node_modules/.bin/mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","execSync":"~1.0.1-pre","lodash":"~2.2.1"},"devDependencies":{"chai":"~1.8.1","sandboxed-module":"~0.3.0","sinon":"~1.7.3","better-stack-traces":"~1.0.0","fs-extra":"~0.8.0","mocha":"~1.13.0"},"_id":"snr@0.1.3","dist":{"shasum":"6e1af1865ae5f51aeadfde15e114815d51598cb1","tarball":"https://registry.npmjs.org/snr/-/snr-0.1.3.tgz","integrity":"sha512-0+ZrDbn8LCgtkuCfi4NxZ/QFawNlk4hKFWWxule4EyMoO0qfU+avfjQ+xdV2k0Hw7CSMhA6wiJxngvaq6nupkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGUecLExLsMk/mUYbCVivVsdkOhOGQX69PEE5GQLqkuyAiEAwH+ahNM9/5XUHVDNNEJAf+yq8L7/AqxML/VAVqCqWgQ="}]},"_from":"./","_npmVersion":"1.3.8","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}]},"0.1.4":{"name":"snr","version":"0.1.4","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"./node_modules/.bin/mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","execSync":"~1.0.1-pre","lodash":"~2.2.1"},"devDependencies":{"chai":"~1.8.1","sandboxed-module":"~0.3.0","sinon":"~1.7.3","better-stack-traces":"~1.0.0","fs-extra":"~0.8.0","mocha":"~1.13.0"},"_id":"snr@0.1.4","dist":{"shasum":"691fbd46497d28ddc533cc7e5ffd65802556c3cb","tarball":"https://registry.npmjs.org/snr/-/snr-0.1.4.tgz","integrity":"sha512-OmpX6F4U7ShPy2tAu6j/ndyg2s0PdWTt8DFVX3wMF5hTVJ/Nc742CpFVvDz5IiuX6IXyfCgQsU6JX5mwFpXtEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDq3t/1szXIvXYMl5Mvt5WDrOk3QEmpE8mzC2yXq5vszAIhALKjjYUkBgcvx3Pad/A+CHMa0UG/xEWfY0auCH+5I9UN"}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}]},"0.2.0":{"name":"snr","version":"0.2.0","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"./node_modules/.bin/mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","execSync":"~1.0.1-pre","lodash":"~2.2.1"},"devDependencies":{"chai":"~1.8.1","sandboxed-module":"~0.3.0","sinon":"~1.7.3","better-stack-traces":"~1.0.0","fs-extra":"~0.8.0","mocha":"~1.13.0"},"_id":"snr@0.2.0","dist":{"shasum":"566431c4bd05f2bed6b46e6874903bb5b63ae125","tarball":"https://registry.npmjs.org/snr/-/snr-0.2.0.tgz","integrity":"sha512-Qb9QRVe6J832mziROt2qQBz/XfrJ0MTMx6gh+F3b90fS2KaeQi3doNTEwJVJKRMj3IiKIiWmZhhP/mMD3h5jdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE3UuAz2Eu86C0050cgs2NZzb0wHPH3tI9ayA2/mN1vRAiBrgqZMiVikJPgxt7VdVFarR5UA4Hjggbee67qQGR2ozA=="}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}]},"0.2.1":{"name":"snr","version":"0.2.1","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"./node_modules/.bin/mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","execSync":"~1.0.1-pre","lodash":"~2.2.1"},"devDependencies":{"chai":"~1.8.1","sandboxed-module":"~0.3.0","sinon":"~1.7.3","better-stack-traces":"~1.0.0","fs-extra":"~0.8.0","mocha":"~1.13.0"},"_id":"snr@0.2.1","dist":{"shasum":"c5e73e22dd14cac7a1947893f1d5e0da3d9a36c7","tarball":"https://registry.npmjs.org/snr/-/snr-0.2.1.tgz","integrity":"sha512-etcuWEzU7eAaLSGnen3zkEv3YsKhhu255qYC02Q2gFPvQzuFsFy6qlrqc2nKcLJqRGdf7EVz38u6oyhPQY7X1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG0zGVcDAQltmTt4AIUeUOXi9FfMnLP93ueCedxpDQaFAiEA/9tHrlMLihbQ2ZqV7A3iYJbWJuEjDmFnDCPA88nvAcc="}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}]},"0.2.2":{"name":"snr","version":"0.2.2","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"./node_modules/.bin/mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","execSync":"~1.0.1-pre","lodash":"~2.2.1"},"devDependencies":{"chai":"~1.8.1","sandboxed-module":"~0.3.0","sinon":"~1.7.3","better-stack-traces":"~1.0.0","fs-extra":"~0.8.0","mocha":"~1.13.0"},"_id":"snr@0.2.2","dist":{"shasum":"228b479a6db18f1944b4b6c6c09747df28c2e92e","tarball":"https://registry.npmjs.org/snr/-/snr-0.2.2.tgz","integrity":"sha512-+PTuvmaCtF6zAbIq85r3czCbjIalkHepCGAqSSQQ+VUszTTS0MfFvP/TGuMVxea9HlkokbXOu8aonLGykzjCFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1EYqOs7hzImEr8wq2a++nA0bvV6D/BVdXV0MzaYmtHwIhAMshRuR7gV3XJzHiYdvVMb1yFnrFzzlmUqRwlYIyiII8"}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}]},"0.2.3":{"name":"snr","version":"0.2.3","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","execSync":"~1.0.1-pre","lodash":"~2.2.1"},"devDependencies":{"chai":"~1.8.1","sandboxed-module":"~0.3.0","sinon":"~1.7.3","better-stack-traces":"~1.0.0","fs-extra":"~0.8.0","mocha":"~1.13.0"},"_id":"snr@0.2.3","dist":{"shasum":"825bedc81eeefd29f4774b471479b59be9d4e176","tarball":"https://registry.npmjs.org/snr/-/snr-0.2.3.tgz","integrity":"sha512-WxXzVrutMyszqCjopvFsVG08sGo/yX0j7knmcw61DQMQGMTA2zcuq647R7prwtLzPcpN6VSnlo2Vn3bOVlduTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFPqOiatk6wTkNiiZ2e62vkCvQsGoN9W9CgB5xQ3xWTAIhAPNlsfM9TeM3GSRi0rUCbBjYZ9219KUjKAr4e+vU5lel"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}]},"0.2.4":{"name":"snr","version":"0.2.4","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","lodash":"~2.2.1"},"devDependencies":{"chai":"~1.8.1","sandboxed-module":"~0.3.0","sinon":"~1.7.3","better-stack-traces":"~1.0.0","fs-extra":"~0.8.0","mocha":"~1.13.0"},"_id":"snr@0.2.4","_shasum":"168d21dc8de5dcefd51a5db5c6b1590668ab6dbc","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}],"dist":{"shasum":"168d21dc8de5dcefd51a5db5c6b1590668ab6dbc","tarball":"https://registry.npmjs.org/snr/-/snr-0.2.4.tgz","integrity":"sha512-XGwgafIuUSL2MpNvJkXPHDBtqmk97ZFAKp24OitbFlx838IGi5drT/YlghifdYOzBIqNF769yt3VdnkKcQN9qQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGk+MM3TV9XGj+kdLSVDXG27AkMyL5Jaic6lnnhCftyvAiAYYwkfNWrN4L/K1BSKNRgdYshD1nTiUGbI1hUxBJiPrA=="}]}},"0.2.5":{"name":"snr","version":"0.2.5","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","lodash":"~2.2.1"},"devDependencies":{"chai":"~1.8.1","sandboxed-module":"~0.3.0","sinon":"~1.7.3","better-stack-traces":"~1.0.0","fs-extra":"~0.8.0","mocha":"~1.13.0"},"gitHead":"728f8049f4099b53aa3f7234e98e009aabc7b870","_id":"snr@0.2.5","_shasum":"483cad4ba4805108d322cc3cb7e89454ba394d6c","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}],"dist":{"shasum":"483cad4ba4805108d322cc3cb7e89454ba394d6c","tarball":"https://registry.npmjs.org/snr/-/snr-0.2.5.tgz","integrity":"sha512-uIeX5gTMrrcUhudthi5aztDkWQeFCvh/95gJiuwCwbZJ4kmyF0Y9WsGKJ1sgbWnmPSZX9xyXEMF9uiI3QhkWnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGUFs4z/liduSoG5B3nZ6uPYnRMlrRxtRsoEIiQTHkrSAiEA2BigcRybjJPTX4gDiThIuexqFclZB/lZ+sYkjNGly7M="}]}},"0.3.0":{"name":"snr","version":"0.3.0","description":"Simple search and replace tool.","main":"index.js","bin":{"snr":"bin/snr"},"scripts":{"test":"mocha --check-leaks --reporter spec --ui bdd test/setup.js test/*.spec.js","lint":"./node_modules/jshint/bin/jshint index.js lib/*.js"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","dependencies":{"glob":"~3.2.6","split":"~0.2.10","async":"~0.2.9","dashdash":"~1.3.2","lodash":"~2.2.1"},"devDependencies":{"better-stack-traces":"~1.0.0","chai":"~1.8.1","fs-extra":"~0.8.0","jshint":"^2.6.0","mocha":"~1.13.0","sandboxed-module":"~0.3.0","sinon":"~1.7.3"},"gitHead":"21aade639fb1be24c853a07447d3495a69e80cff","_id":"snr@0.3.0","_shasum":"0a0789580af09a5d1f1b2db1de11369e3d64f0f3","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.30","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}],"dist":{"shasum":"0a0789580af09a5d1f1b2db1de11369e3d64f0f3","tarball":"https://registry.npmjs.org/snr/-/snr-0.3.0.tgz","integrity":"sha512-79pQxyIxeVazfmiqh8UtToFOzMTKfNi5wbnf9kjqv3tEdofTvPwQTKm6bdhjxt5vsgVFfCIIlUHJlSXoCB03DA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2W8T7EhjT2GYZUZTgXniBvA4dEXg6OapxqKF+GoXaKAIgP+RO5UchtJbeABaHO/5htNkUSTO2KLB2Rxv737Dlf2A="}]}}},"readme":"# SnR [![Build Status](https://travis-ci.org/codio/snr.png)](https://travis-ci.org/codio/snr)\n\nSimple search and replace through commandline tools (`ack` and `perl`).\n\n## Installation\n\nMake sure perl is installed on your system. Ack itself is bundled with the\nproject.\n\n```bash\n$ npm install -g snr\n```\n\n## Usage\n\n### Commandline\n\nSearch for all `console` statements in all JavaScript files in the folders `src/core` and\n`src/ext` and stop the search after `100` items.\n\n```bash\n$ snr --max-result-count 100 --literal console \"src/core/**/*.js\" \"src/ext/**/*.js\"\n```\n\nReplace all these statements with `hello`:\n```bash\n$ snr --max-result-count 100 --literal --replace hello console \"src/core/**/*.js\" \"src/ext/**/*.js\"\n```\n\n\n### Module\n\n```js\nvar snr = require('snr');\n\n// Default options\nvar options = {\n  maxResults: null,\n  ignoreCase: false,\n  literal: false,\n  wordRegexp: false,\n  context: null,\n};\n\n// Search and replace return a stream with the output\nsnr.search('my/file/glob/**/*.js', 'function', options).pipe(process.stdout);\n\n// replace value\noptions.replace = '->';\n\nsnr.replace('my/file/glob/**/*.js', 'function', options).pipe(process.stdout);\n```\n\n## Options\n\n```bash\nusage: snr [OPTION]... PATTERN [FILES OR DIRECTORIES OR GLOBS]\noptions:\n    -i, --ignore-case       Ignore case distinctions in PATTERN.\n    -Q, --literal           Quote all metacharacters; PATTERN is literal.\n    --max-result-count=NUM  Stop after NUM results.\n    --replace=REPlACE       Replace all matches with REPLACE.\n    -h, --help              Print this help and exit.\n    -v, --version           Print the current version.\n    -C NUM, --context=NUM   Print NUM lines of output context.\n    -w, --word-regexp       Force PATTERN to match only whole words.\n    --color-lineno=COLOR    Set the color for filenames, matches, and line\n                            numbers.\n```\n\n\n\n## Globs\n\n\n### Simple Examples\n\nLets say you have the following project\n\n```bash\n|-- lib\n|  |-- index.js\n|  |-- hello_world.js\n|-- index.html\n|-- 404.html\n|-- app.js\n`-- gruntfile.coffee\n```\n\nthen you can use globs to select files in this way:\n\n* All files ending in `.js`: `**/*.js`.\n  * `index.js`\n  * `hello_world.js`\n  * `app.js`\n* All files ending in `.html` in the root folder: `*.html`\n  * `index.html`\n  * `404.html`\n* All files in `lib`: `lib/*.*`\n  * `index.js`\n  * `hello_world.js`\n* All files ending in `.html` or `.coffee`: `**/*{.html,.coffee}`\n  * `index.html`\n  * `404.html`\n  * `gruntfile.coffee`\n* All files beginning with `index`: `**/index*`\n  * `index.js`\n  * `index.html`\n\n### Basic Rules\n\n> From `man bash`\n\nAny character that appears in a pattern, other than the special pattern characters described below,\nmatches itself. The NUL character may not occur in a pattern. A backslash escapes the following\ncharacter; the escaping backslash is discarded when matching. The special pattern characters must\nbe quoted if they are to be matched literally.\n\nThe special pattern characters have the following meanings:\n\n* `*` Matches any string, including the null string. When the globstar shell option is enabled,\n  and `*` is used in a filename expansion context, two adjacent `*`s used as a single pattern will\n  match all files and zero or more directories and subdirectories. If followed by a `/`, two adjacent\n  `*`s will match only directories and subdirectories.\n\n* `?` Matches any single character.\n\n* `[…]` Matches any one of the enclosed characters. A pair of characters separated by a hyphen denotes a\n  range expression; any character that sorts between those two characters, inclusive, using the current locale's\n  collating sequence and character set, is matched. If the first character following the `[` is a `!` or a `^`\n  then any character not enclosed is matched. A `-` may be matched by including it as the first or last character\n  in the set. A `]` may be matched by including it as the first character in the set.\n\n  A character class matches any character belonging to that class. The word character class matches letters, digits,\n  and the character `_`.\n\n  Within `[` and `]`, an equivalence class can be specified using the syntax `[=c=]`, which matches all characters with\n  the same collation weight (as defined by the current locale) as the character c.\n\n  Within `[` and `]`, the syntax [.symbol.] matches the collating symbol symbol.\n\n* `?(pattern-list)` Matches zero or one occurrence of the given patterns.\n\n* `*(pattern-list)` Matches zero or more occurrences of the given patterns.\n\n* `+(pattern-list)` Matches one or more occurrences of the given patterns.\n\n* `@(pattern-list)` Matches one of the given patterns.\n\n* `!(pattern-list)` Matches anything except one of the given patterns.\n\n### Comparisons to other glob implementations\n\n> From the readme of node-glob.\n\n\nWhile strict compliance with the existing standards is a worthwhile\ngoal, some discrepancies exist between node-glob and other\nimplementations, and are intentional.\n\nIf the pattern starts with a `!` character, then it is negated. Multiple `!`\ncharacters at the start of a pattern will negate the pattern multiple\ntimes.\n\nIf a pattern starts with `#`, then it is treated as a comment, and\nwill not match anything.  Use `\\#` to match a literal `#` at the\nstart of a line.\n\nThe double-star character `**` is supported. This is supported in the manner of\nbsdglob and bash 4.1, where `**` only has special significance if it is the only\nthing in a path part.  That is, `a/**/b` will match `a/x/y/b`, but\n`a/**b` will not.\n\n## Changelog\n\n* `0.2.6` Fixes for list of files in replacement.\n* `0.2.5` Fixes for long running searches and replacements.\n* `0.2.4` Cleanup dependencies. Run tests on `0.11`.\n* `0.2.3` Allow empty strings in replace.\n* `0.2.1` Don't try to search in directories.\n* `0.2.0` Bundle `ack@2.10` with snr.\n* `0.1.0` Initial release.\n","maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}],"time":{"modified":"2022-06-26T21:45:53.145Z","created":"2013-10-24T14:08:33.206Z","0.1.0":"2013-10-24T14:08:36.196Z","0.1.1":"2013-10-24T14:15:02.109Z","0.1.2":"2013-10-24T15:06:00.399Z","0.1.3":"2013-10-28T09:05:19.495Z","0.1.4":"2013-10-29T11:17:43.339Z","0.2.0":"2013-11-06T11:26:43.044Z","0.2.1":"2013-11-07T12:10:08.889Z","0.2.2":"2013-11-08T12:58:43.928Z","0.2.3":"2014-04-24T07:25:39.081Z","0.2.4":"2014-07-22T09:56:20.503Z","0.2.5":"2014-07-31T12:51:38.477Z","0.3.0":"2015-02-06T14:34:17.447Z"},"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","readmeFilename":"README.md"}