ripgrep recursively searches directories for a regex pattern

Edit Package ripgrep

ripgrep is a cross-platform, line-oriented search tool that recursively searches your current directory for a regex pattern while respecting your gitignore rules.

ripgrep is similar to other popular search tools like The Silver Searcher, ack and grep.

Refresh
Refresh
Source Files
Filename Size Changed
README.suse-maint.md 0000000476 476 Bytes
_service 0000000964 964 Bytes
cargo_config 0000000100 100 Bytes
ripgrep-14.1.0.tar.gz 0000584473 571 KB
ripgrep.changes 0000011308 11 KB
ripgrep.spec 0000003459 3.38 KB
vendor.tar.xz 0008524456 8.13 MB
Revision 31 (latest revision is 38)
Ondřej Súkup's avatar Ondřej Súkup (mimi_vx) accepted request 1137475 from Andrea Manzini's avatar Andrea Manzini (amanzini) (revision 31)
- Update to ripgrep 14.1.0:
  * bug fix for unbounded memory growth while walking a directory tree. 
  * improvements to the completions for the fish shell
- Update to ripgrep 14.0.3:
  * This is a patch release with a bug fix for the --sortr flag.
- Update to ripgrep 14.0.0:
  * a new major version release of ripgrep that has some new features, performance improvements and a lot of bug fixes.
  * The headlining feature in this release is hyperlink support. In this release, they are an opt-in feature but may 
    change to an opt-out feature in the future. To enable them, try passing --hyperlink-format default. 
    If you use VS Code, then try passing --hyperlink-format vscode. 
    Please report your experience with hyperlinks, positive or negative.
  * Another headlining development in this release is that it contains a rewrite of its regex engine. 
    You generally shouldn't notice any changes, except for some searches may get faster. 
    You can read more about the regex engine rewrite on my blog. 
    Please report your performance improvements or regressions that you notice.
  * Finally, ripgrep switched the library it uses for argument parsing. Users should not notice a difference in most cases 
    (error messages have changed somewhat), but flag overrides should generally be more consistent. 
    For example, things like --no-ignore --ignore-vcs work as one would expect 
    (disables all filtering related to ignore rules except for rules found in version control systems such as git).
  * BREAKING CHANGES:
    rg -C1 -A2 used to be equivalent to rg -A2, but now it is equivalent to rg -B1 -A2. 
    That is, -A and -B no longer completely override -C. Instead, they only partially override -C.
- dropped ruby build dependency and embedded shell completions/man generation in the build process
Comments 3

Avindra Goolcharan's avatar
    Compiling ripgrep v0.10.0 (file:///home/abuild/rpmbuild/BUILD/ripgrep-0.10.0)
 error[E0658]: macro is_x86_feature_detected! is unstable (see issue #0)
    --> src/app.rs:135:8
     |
 135 |     if is_x86_feature_detected!("ssse3") {
     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 error[E0658]: macro is_x86_feature_detected! is unstable (see issue #0)
    --> src/app.rs:140:8
     |
 140 |     if is_x86_feature_detected!("avx2") {
     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

 error: aborting due to 2 previous errors

 For more information about this error, try `rustc --explain E0658`.
 error: Could not compile `ripgrep`.

fun


Maikol Solis's avatar

Hi!

Could you please build this package with pcre2 support?

 cargo build --release --features 'pcre2'

It is particularly useful when using org-roam in Emacs for example (https://github.com/org-roam/org-roam/issues/826).

Thanks.


Avindra Goolcharan's avatar

13.0.0 incoming.

The following 3 packages are going to be upgraded:
  ripgrep ripgrep-bash-completion ripgrep-fish-completion

3 packages to upgrade.
Overall download size: 1.3 MiB. Already cached: 0 B. After the operation, 28.2 KiB will be freed.
Continue? [y/n/v/...? shows all options] (y):
openSUSE Build Service is sponsored by