Universal code grep

From wikinotes

universal code grep (ucg) is a modern search and search replace tool.
It is similar to ripgrep, but supports PCRE2 (lookahead/lookbehind, multiline, etc).

Documentation

github https://github.com/gvansickle/ucg

Usage

ucg [pattern] [files...]

ucg \
  -i  `# case insensitive match` \
  

ucg --color 'Foo(?!Bar)' | less -Ri