The Silver Searcher - A code-searching tool similar to ack, but faster.

  •        110

A code-searching tool similar to ack, but faster. It ignores file patterns from your .gitignore and .hgignore. If there are files in your source repo you don't want to search, just add their patterns to a .ignore file. (*cough* *.min.js *cough*)

https://github.com/ggreer/the_silver_searcher
http://geoff.greer.fm/ag/

Tags
Implementation
License
Platform

   




Related Projects

ripgrep - Recursively searches directories for a regex pattern while respecting your gitignore

  •    Rust

ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern. By default, ripgrep will respect gitignore rules and automatically skip hidden files/directories and binary files. ripgrep has first class support on Windows, macOS and Linux, with binary downloads available for every release. ripgrep is similar to other popular search tools like The Silver Searcher, ack and grep.

ugrep - Ultra fast grep with interactive query UI and fuzzy search

  •    C++

ugrep is ultra fast grep with interactive query UI and fuzzy search. It can search file systems, source code, text, binary files, archives (cpio/tar/pax/zip), compressed files (gz/Z/bz2/lzma/xz/lz4/zstd), documents and more. A faster, user-friendly and compatible grep replacement.

ferret - Enhanced multi-file search for Vim

  •    Vim

Ferret provides an :Ack command for searching across multiple files using ripgrep (https://github.com/BurntSushi/ripgrep), The Silver Searcher (https://github.com/ggreer/the_silver_searcher), or Ack (http://beyondgrep.com/). Support for passing options through to the underlying search command exists, along with the ability to use full regular expression syntax without doing special escaping. On modern versions of Vim (version 8 or higher, or Neovim), searches are performed asynchronously (without blocking the UI). Shortcut mappings are provided to start an :Ack search (<leader>a) or to search for the word currently under the cursor (<leader>s).

Regex Search and Rescue

  •    DotNet

Regex Search and Rescue (RSaR) is a command line "grep" tool based on .NET, which offers one of the most advanced regular expression engines ever created.

the_silver_searcher - A code-searching tool similar to ack, but faster.

  •    C

A code searching tool similar to ack, with a focus on speed. Do you know C? Want to improve ag? I invite you to pair with me.


Regular Expression Editor (RegExpEditor)

  •    Java

Regular Expressions (aka regex, regexp) made easy. This simple tool manipulates text with regular expressions. Highlighting of regular expression results. See the real power of regex! Use Scala to do manipulate your search results even more.

grep front-end using Java

  •    Java

This is a simple Java front-end for the UNIX grep. It lets you search file contents also if you are not familiar with the command line or the regular expression syntax.

Code Search - Fast, indexed regexp search over large file trees

  •    Go

Code Search is a tool for indexing and then performing regular expression searches over large bodies of source code. It is a set of command-line programs written in Go.

Tantivy - Full-text search engine library inspired by Lucene and written in Rust

  •    Rust

Tantivy is a full text search engine library written in rust. It is closer to Lucene than to Elastic Search and Solr in the sense it is not an off-the-shelf search engine server, but rather a crate that can be used to build such a search engine.

Document Regex Search

  •    C++

Command line tool to find documents which contain strings matched by a regular expression. Supports pdf, Microsoft Office 98-2003, chm, text files. Will soon support html as well. Precompiled win32 version available

massren - massren - easily rename multiple files using your text editor

  •    Go

Massren is a command line tool that can be used to rename multiple files using your own text editor. Multiple-rename tools are usually difficult to use from the command line since any regular expression needs to be escaped, and each tool uses its own syntax and flavor of regex. The advantage of massren is that you are using the text editor you use every day, and so can use all its features. The tool works by creating a file that contains the filenames of the target directory, and opening this file in the text editor. You can then modify the filenames there directly. Once done, save the text file and the files will be renamed. Lines that are not changed will simply be ignored.

dumb-jump - an Emacs "jump to definition" package

  •    Emacs

Dumb Jump is an Emacs "jump to definition" package with support for multiple programming languages that favors "just working". This means minimal -- and ideally zero -- configuration with absolutely no stored indexes (TAGS) or persistent background processes. Dumb Jump requires at least GNU Emacs 24.3. Dumb Jump uses The Silver Searcher ag, ripgrep rg, or grep to find potential definitions of a function or variable under point. It uses a set of regular expressions based on the file extension, or major-mode, of the current buffer. The matches are run through a shared set of heuristic methods to find the best candidate to jump to. If it can't decide it will present the user with a list in a pop-menu.

learn-regex - Learn regex the easy way

  •    

Regular expression is a group of characters or symbols which is used to find a specific pattern from a text. A regular expression is a pattern that is matched against a subject string from left to right. The word "Regular expression" is a mouthful, you will usually find the term abbreviated as "regex" or "regexp". Regular expression is used for replacing a text within a string, validating form, extract a substring from a string based upon a pattern match, and so much more.

learn-regex - Learn regex the easy way

  •    

Regular expression is a group of characters or symbols which is used to find a specific pattern from a text. A regular expression is a pattern that is matched against a subject string from left to right. The word "Regular expression" is a mouthful, you will usually find the term abbreviated as "regex" or "regexp". Regular expression is used for replacing a text within a string, validating form, extract a substring from a string based upon a pattern match, and so much more.

regex - An implementation of regular expressions for Rust

  •    Rust

A Rust library for parsing, compiling, and executing regular expressions. Its syntax is similar to Perl-style regular expressions, but lacks a few features like look around and backreferences. In exchange, all searches execute in linear time with respect to the size of the regular expression and search text. Much of the syntax and implementation is inspired by RE2.Module documentation with examples. The module documentation also include a comprehensive description of the syntax supported.

emoji-regex - A regular expression to match all Emoji-only symbols as per the Unicode Standard.

  •    Javascript

emoji-regex offers a regular expression to match all emoji symbols (including textual representations of emoji) as per the Unicode Standard.This repository contains a script that generates this regular expression based on the data from Unicode Technical Report #51. Because of this, the regular expression can easily be updated whenever new emoji are added to the Unicode standard.

GNU Nano - alternative to Pico editor

  •    C

GNU nano is a command-line text-editor, with syntax highlighting for many languages, an experimental undo/redo system, regular expression help support, auto-indent support, and many other otpions. Full customizable by a file conf and bindings. Particularity of keyboard shortcuts for standard actions (save, quit, search/check/replace). GNU nano is designed to be a free replacement for the Pico text editor, part of the Pine email suite.

regexgen - Generate regular expressions that match a set of strings

  •    Javascript

Generates regular expressions that match a set of strings. regexgen also has a simple CLI to generate regexes using inputs from the command line.

dxr - Powerful search for large codebases

  •    Python

DXR is a code search and navigation tool aimed at making sense of large projects like Firefox. It supports full-text and regex searches as well as structural queries like "Find all the callers of this function." Behind the scenes, it uses trigram indices, elasticsearch, and static analysis data collected by instrumented compilers to make searches faster and more accurate than is possible with simple tools like grep. DXR also exposes a plugin API through which understanding of more languages can be added.

Command-line-text-processing - :zap: From finding text to search and replace, from sorting to beautifying text and more :art:

  •    Shell

Learn about various commands available for common and exotic text processing needs. Examples have been tested on GNU/Linux - there'd be syntax/feature variations with other distributions, consult their respective man pages for details. ⚠️ 🚧 Work in progress, stay tuned...