UniversalCodeGrep

Searches large source code repositories using regex patterns.

Made by Gary R. Van Sickle

  • text-search

  • search-tool

  • grep

  • text-utility

What is UniversalCodeGrep?

UniversalCodeGrep (ucg) is a fast grep-like tool designed for searching large codebases. It aims to be largely command-line compatible with Ack, to some extent with ag, and where appropriate with grep. Search patterns are specified as PCRE regular expressions. ucg is written in C++11 and leverages the language's concurrency and other features to increase scanning speed while reducing reliance on third-party libraries and improving portability. The PCRE library's JIT compilation feature provides a significant performance boost on most platforms

Highlights

  • Fast searching of large codebases
  • PCRE regular expression support
  • Command-line compatibility with Ack, ag, and grep
  • Concurrency and performance optimizations in C++11
  • Reduced reliance on third-party libraries for increased portability
  • PCRE library's JIT compilation for enhanced performance

Platforms

  • Linux
  • BSD
  • Mac

Languages

  • English

Features

    • Support for regular expressions

    • File Search