feat: mdgrep 0.1.0 – boolean full-text search for Markdown
- query language: substrings, phrases, /regex/, AND/OR/NOT (+ UND/ODER/NICHT), parentheses; case-insensitive; ReDoS protection via regex timeouts; syntax errors with stable code and position - SearchEngine over in-memory blocks: filters, predicate, grouping, sorting, paging, time budget, automatic reload, highlighted snippets - Markdown loader with split modes file/heading/list/paragraph - grep-like CLI (mdgrep), JSON output, grep exit codes - Flask blueprint/app with JSON API and widget assets, dev server - framework-free JS widget: live search, URL state, filters, paging, syntax help, en/de labels, CSS custom properties for theming Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
9c7b7e81f9
2 changed files with 2642 additions and 0 deletions
13
examples/docs/languages.md
Normal file
13
examples/docs/languages.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Programming languages
|
||||
|
||||
## Systems
|
||||
|
||||
- **Rust** guarantees memory safety without a garbage collector. Its borrow checker
|
||||
rejects data races at compile time.
|
||||
- **Go** favours simplicity and fast compilation; goroutines make concurrency cheap.
|
||||
- **Zig** offers manual memory management with compile-time code execution.
|
||||
|
||||
## Scripting
|
||||
|
||||
- **Python** is popular for data science and machine learning (LLMs, PyTorch).
|
||||
- **Lua** is a tiny embeddable language used in games and Neovim.
|
||||
7
examples/docs/tools.md
Normal file
7
examples/docs/tools.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Tools
|
||||
|
||||
Regular expressions are supported by grep, ripgrep and most editors.
|
||||
|
||||
Large language models (LLMs) can explain a regex, but testing it is still wise.
|
||||
|
||||
Open source licenses such as MIT and GPL differ in their copyleft requirements.
|
||||
Loading…
Reference in a new issue