mirror of https://github.com/renovatebot/renovate
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\//);
|