From e4c05caf9471243ef77ede8d7d2164b05d4c43a6 Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Thu, 13 Aug 2026 15:51:11 -0700 Subject: [PATCH] document regex match counting in the README Describes -RPc and -CPc alongside the regex matching options they modify. Kept with the feature rather than on the release branch, so the README there documents only what that branch actually provides. Co-Authored-By: Claude Opus 5 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index be04d19..8732570 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,8 @@ The most commonly useful options (`wikiq --help` describes them all): - `-RP REGEX -RPl LABEL` searches revision text for a regular expression and reports the matches in a column named by the label; repeat the pair for multiple patterns. `-CP`/`-CPl` do the same for edit - summaries. + summaries. Adding `-RPc` or `-CPc` reports the number of matches + instead of the matched text. - `--resume` continues an interrupted run from the last complete line of an existing JSONL output file. Combined with `--time-limit HOURS`, this supports processing very large dumps in bounded chunks.