Skip to content

Commit

Permalink
Merge pull request #1371 from selfdocumentingcode/docs/extractor-targ…
Browse files Browse the repository at this point in the history
…et-default

Document default value for Extractor.on_property
  • Loading branch information
mikepenz committed Sep 13, 2024
2 parents 4fe050c + b97db04 commit d928180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ This applies to all configurations outlined in `Configuration Specification` and
| <parent>.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. |
| <parent>.flags | Defines the regex flags specified for the pattern. Default: `gu`. |
| <parent>.on_empty | Defines the placeholder to be filled in, if the regex does not lead to a result. |
| <parent>.on_property | This is available for `Extractor` type regex objects. With the property describing a field available in PRs. (e.g.: title, body, ...) |
| <parent>.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`. |

<details><summary><b>Example regex configuration block</b></summary>
<p>
Expand Down

0 comments on commit d928180

Please sign in to comment.