Skip to content

Commit

Permalink
docs(config options): link to regex manager presets (#22023)
Browse files Browse the repository at this point in the history
  • Loading branch information
HonkingGoose committed May 8, 2023
1 parent 44271cc commit 72f165a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/usage/configuration-options.md
Expand Up @@ -2853,14 +2853,14 @@ Typically you shouldn't need to modify this setting.

Use `regexManagers` entries to configure the `regex` manager in Renovate.

You can define custom managers for cases such as:
You can define custom managers to handle:

- Proprietary file formats or conventions
- Popular file formats not yet supported as a manager by Renovate

The custom manager concept is based on using Regular Expression named capture groups.

You must have a named capture group matching (e.g. `(?<depName>.*)`) _or_ configure it's corresponding template (e.g. `depNameTemplate`) for these fields:
You must have a named capture group matching (e.g. `(?<depName>.*)`) _or_ configure its corresponding template (e.g. `depNameTemplate`) for these fields:

- `datasource`
- `depName`
Expand All @@ -2875,6 +2875,10 @@ If the `versioning` field is missing, then Renovate defaults to using `semver` v
For more details and examples, see our [documentation for the `regex` manager](/modules/manager/regex/).
For template fields, use the triple brace `{{{ }}}` notation to avoid Handlebars escaping any special characters.

<!-- prettier-ignore -->
!!! tip
Look at our [Regex Manager Presets](https://docs.renovatebot.com/presets-regexManagers/), they may have what you need.

### matchStrings

`matchStrings` should each be a valid regular expression, optionally with named capture groups.
Expand Down

0 comments on commit 72f165a

Please sign in to comment.