mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 16:46:25 +00:00
7 lines
467 B
TypeScript
7 lines
467 B
TypeScript
|
export const newBlockRegEx = /^\s*-\s*((\w+):\s*(.*))$/;
|
||
|
export const blockLineRegEx = /^\s*((\w+):\s*(.*))$/;
|
||
|
export const galaxyDepRegex = /[\w-]+\.[\w-]+/;
|
||
|
export const dependencyRegex = /^dependencies:/;
|
||
|
export const galaxyRegEx = /^\s+(?<lookupName>[\w.]+):\s*["'](?<version>.+)["']\s*/;
|
||
|
export const nameMatchRegex = /(?<source>((git\+)?(?:(git|ssh|https?):\/\/)?(.*@)?(?<hostname>[\w.-]+)(?:(:\d+)?\/|:))(?<depName>[\w./-]+)(?:\.git)?)(,(?<version>[\w.]*))?/;
|