mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 13:38:32 +00:00
8 lines
297 B
TypeScript
8 lines
297 B
TypeScript
import { regEx } from '../../../util/regex';
|
|
|
|
export const keyValueExtractionRegex = regEx(
|
|
/^\s*(?<key>[^\s]+):\s+"?(?<value>[^"\s]+)"?\s*$/,
|
|
);
|
|
// looks for `apiVersion: argoproj.io/` with optional quoting of the value
|
|
export const fileTestRegex = regEx(/\s*apiVersion:\s*'?"?argoproj.io\//);
|