mdgrep/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dschlueter d9f81ac918 feat: markdown dialect option, faster search (0.1.1)
- split_markdown/load_markdown: dialect="commonmark"|"python-markdown" so list
  blocks match the HTML structure of the renderer (list after paragraph needs a
  blank line; nesting needs 4 spaces in Python-Markdown)
- SearchEngine caches the searched text per block on load
- regex timeout only for /regex/ terms (words and phrases are linear);
  typical queries over 26k blocks: ~30-140 ms instead of 250-700 ms

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 19:37:40 +02:00
..
test_cli.py feat: mdgrep 0.1.0 – boolean full-text search for Markdown 2026-10-12 19:29:44 +02:00
test_engine.py feat: mdgrep 0.1.0 – boolean full-text search for Markdown 2026-10-12 19:29:44 +02:00
test_markdown.py feat: markdown dialect option, faster search (0.1.1) 2026-10-12 19:37:40 +02:00
test_query.py feat: mdgrep 0.1.0 – boolean full-text search for Markdown 2026-10-12 19:29:44 +02:00
test_snippets.py feat: mdgrep 0.1.0 – boolean full-text search for Markdown 2026-10-12 19:29:44 +02:00
test_web.py feat: mdgrep 0.1.0 – boolean full-text search for Markdown 2026-10-12 19:29:44 +02:00