Can anyone please recommend a good plugin to replace built-in vim regex search with PCRE regex?

This page summarizes the projects mentioned and recommended in the original post on /r/vim

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. eregex.vim

    Perl/Ruby style regexp notation for Vim

    I think eregex.vim was the plugin I last saw that did this, but I haven't tried it. I don't like putting too much between me and /. I use /\v when I want something closer to PCRE.

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. vim-grepper

    :space_invader: Helps you win at grep.

    This wouldn’t be a direct replacement for searching, but could you create/find a tool which uses perl regex to fill the location window? e.g you can use vim-grepper and modify the rg command with --pcre to use the pcre2 engine.

  4. RE2

    RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.

    In case it matters, PCRE is not 100% compatible with Perl regular expression syntax, and both have differences from Perl-inspired regexes in various programming languages. This table lists some differences between engines, though it omits Vim's syntax. The RE2 syntax page has details on Perl, PCRE, and Vim syntax as they differ from RE2.

  5. ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

    I’m no expert, but I believe ripgrep will do PCRE, and there are more than a couple vim plugins that’ll leverage it. I happen to use vim-ripgrep, which is good enough for me, but not sure if it’ll let you get at the PCRE option (I’d guess it should, but I haven’t checked).

  6. vim-ripgrep

    Use RipGrep in Vim and display results in a quickfix list

    I’m no expert, but I believe ripgrep will do PCRE, and there are more than a couple vim plugins that’ll leverage it. I happen to use vim-ripgrep, which is good enough for me, but not sure if it’ll let you get at the PCRE option (I’d guess it should, but I haven’t checked).

  7. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • gfr.vim - grep & filter & replace in vim/neovim

    4 projects | /r/vim | 28 Apr 2023
  • Ripgrep with glob patterns doesnot seem to work for me

    2 projects | /r/emacs | 21 Apr 2023
  • ripgrep is faster than {grep, ag, git grep, ucg, pt, sift}

    8 projects | /r/programming | 24 Mar 2023
  • Rob Pike's simple C regex matcher in Go

    9 projects | news.ycombinator.com | 12 Aug 2022
  • quickfix-rex.nvim

    4 projects | /r/neovim | 7 Jan 2022