3 ms·
I just finished reading the book, and I found it very helpful especially for beginner grep/ripgrep users. Thank you for making it available. I love the Exercis
by otterpro 7y ago
I just finished reading the book, and I found it very helpful especially for beginner grep/ripgrep users. Thank you for making it available. I love the Exercise section.
Are there plan on making the solutions to the exercise available? I'm stuck on this question:
Ripgrep
a) For sample.md input file, match all lines containing ruby irrespective of case, but not if
it is part of code blocks that are bounded by triple backticks.
- asicsp 7y agoThanks for the wonderful feedback, makes me happy :) I'd prefer to help readers with hints rather than making solutions public. Give it your best shot and if you are stuck with no where to go, you can contact me via email/twitter mentioned in Preface chapter. Hint for this question: there are multiple possible solutions. I used -P option for its skipping feature (see 'Perl Compatible Regular Expressions' chapter) to avoid the code blocks.