Comments (1)
Thanks for the concise reproduction.
This is probably a wontfix
. ripgrep doesn't change how it uses PCRE2 APIs based on the presence or absence of \K
. So if \K
doesn't work using standard APIs, then I think that's just how the cookie crumbles.
If someone wants to dive in and see if this is actually fixable without needing to know about \K
in a generic context, then I'd probably be willing to accept a patch if it's small and non-invasive.
from ripgrep.
Related Issues (20)
- bad string breaks ripgrep HOT 1
- Release the mmap heuristics as a crate HOT 1
- --count --multiline doesn't behave as documented HOT 3
- Not Getting Regex Matches When Other Tools Do Match HOT 5
- Heuristics of `ignore::WalkParallel`'s `threads` field: hardcoded to 2? HOT 2
- .gitignore entries are not filtered HOT 4
- [ignore] Unexpected behaviour when ignoring directories without a slash HOT 3
- Expose submatches in `Sink::matched` somehow HOT 2
- [feature request] only return file, line, and column for multiple matches HOT 2
- [feat] skip/silence permission denied HOT 3
- Large memory consumption with `globset::GlobSet.is_match` HOT 2
- better block device & huge file handling: seek & parallel HOT 4
- feat(globset): better way to see if ALL globs match
- `globset` does not match non-ascii in character class
- Add .svelte file type to default type list
- Add a flag for snake case/camel case insensitivity HOT 1
- ripgrep not shows the unicode characters whereas grep does HOT 11
- Alternation match regression HOT 3
- Ripgrep misbehaves and has huge CPU usage runing on VSCodium from inside distrobox HOT 5
- rg '<,'> file.txt | will clear the contents of file.txt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ripgrep.