From f531c3b7a4fbbc41076fc4f2b5be4a9846802d23 Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Fri, 31 Jul 2026 11:42:16 +0900 Subject: [PATCH] parser_multiline: correct the formatN parameter table The table showed "nil" as the default for formatN, but the text right below states it is a required parameter. A required parameter has no default, so the two descriptions contradicted each other. formatN is not a config_param either. Only format_firstline and unmatched_lines are declared in parser_multiline.rb; format1 to format20 are read directly from the config element via conf["format#{i}"]. So the string / nil shown in the table had no basis in the config system. Align the table with the parent regexp parser page, where the required regexp pattern "expression" is documented as "regexp | required parameter". Keep the version (0.14.0), which matches when the multiline parser plugin was introduced. Refs #466 Signed-off-by: Shizuo Fujita --- parser/multiline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/multiline.md b/parser/multiline.md index f6bd0d66..091fc3dc 100644 --- a/parser/multiline.md +++ b/parser/multiline.md @@ -27,7 +27,7 @@ If `format_firstline` is not specified, the input plugin should store the unmatc | type | default | version | | :--- | :--- | :--- | -| string | `nil` | 0.14.0 | +| regexp | required parameter | 0.14.0 | It is a required parameter.