mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 15:06:27 +00:00
8073612d85
The regex versioner supports arbitrary, user-defined versioning methods; it provides building blocks in the way of interacting capture groups within a user-defined regex which can be combined to support arbitrary use-cases. Uses a new `versionConfig` option to configure this scheme -- this feature is enabled dynamically for any new versioner which includes the optional `configure?(new_config: string)` interface. Warns if used with an invalid scheme.
5 lines
72 B
TypeScript
5 lines
72 B
TypeScript
declare module 're2' {
|
|
class RE2 extends RegExp {}
|
|
|
|
export = RE2;
|
|
}
|