3 ms·
Suggestion: For the ".plugin_config(" example [0], using fixed-string search with -F option would be much better. Perhaps you could add an option to choose amon
by asicsp 6y ago
Suggestion: For the ".plugin_config(" example [0], using fixed-string search with -F option would be much better. Perhaps you could add an option to choose among -F, default regex and PCRE (for features like lookarounds).
[0] https://ripgrep.datasette.io/-/ripgrep?pattern=%5C.plugin_config%5C%28 https://ripgrep.datasette.io/-/ripgrep?pattern=%5C.plugin_co...
- simonw 6y agoThat's a great idea, thanks. Filed an issue: https://github.com/simonw/datasette-ripgrep/issues/8 https://github.com/simonw/datasette-ripgrep/issues/8
- simonw 6y agoThat's now shipped in version 0.3 - demo here: https://ripgrep.datasette.io/-/ripgrep?pattern=.plugin_config%28&literal=on https://ripgrep.datasette.io/-/ripgrep?pattern=.plugin_confi...