From b97db0481b5342029a082e9f041d31d1e7caf0d1 Mon Sep 17 00:00:00 2001 From: Bob Loblaw Date: Wed, 11 Sep 2024 22:21:22 +0200 Subject: [PATCH] Document default value for Extractor.on_property --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5751e432..db5abacd 100644 --- a/README.md +++ b/README.md @@ -577,7 +577,7 @@ This applies to all configurations outlined in `Configuration Specification` and | .method | The extraction method used. Defaults to: `replace`. Alternative values: `replaceAll`, `match`. These methods specified references the JavaScript String method. And a special method `regexr`, that functions similar to the `list` within the regexr tool. | | .flags | Defines the regex flags specified for the pattern. Default: `gu`. | | .on_empty | Defines the placeholder to be filled in, if the regex does not lead to a result. | -| .on_property | This is available for `Extractor` type regex objects. With the property describing a field available in PRs. (e.g.: title, body, ...) | +| .on_property | This is available for `Extractor` type regex objects. With the property describing a field available in PRs. (e.g.: title, body, ...) Default: `body`. |
Example regex configuration block