{"pageProps":{"metadata":{"date":"2021-11-07 20:56:49 +08:00","date_modified":"2021-11-07 20:59:33 +08:00","language":"en","source":""},"title":"Command line: ripgrep","hast":{"type":"root","children":[{"type":"element","tagName":"nav","properties":{"className":"toc"},"children":[{"type":"element","tagName":"ol","properties":{"className":"toc-level toc-level-1"},"children":[{"type":"element","tagName":"li","data":{"hookArgs":[{"type":"element","tagName":"h1","properties":{"id":"flags"},"children":[{"type":"text","value":"Flags"}]}]},"properties":{"className":"toc-item toc-item-h1"},"children":[{"type":"element","tagName":"a","properties":{"className":"toc-link toc-link-h1","href":"/cli.ripgrep#flags"},"children":[{"type":"text","value":"Flags"}]}]}]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"A modern replacement for grep... that is written in "},{"type":"element","tagName":"a","properties":{"href":"/lang.rust"},"children":[{"type":"text","value":"Rust language"}]},{"type":"text","value":"... because why not make it faster?\n"}]},{"type":"element","tagName":"h1","properties":{"id":"flags"},"children":[{"type":"text","value":"Flags"}]},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["inline-verbatim"]},"children":[{"type":"text","value":"-i, --ignore-case"}]},{"type":"text","value":" enables searches regardless of letter case (e.g., uppercase, lowercase).\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["inline-verbatim"]},"children":[{"type":"text","value":"-g, --glob [GLOB...]"}]},{"type":"text","value":" searches for the file to be included in the search; you can prepend the glob with "},{"type":"element","tagName":"code","properties":{"className":["inline-verbatim"]},"children":[{"type":"text","value":"!"}]},{"type":"text","value":" to exclude it\n"}]}]}]}]},"backlinks":[]},"__N_SSG":true}