Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LoosePhRe = regexp.MustCompile(`\${{[^{}]+}}`)
loosePhRe 宽松的正则表达式:
View Source
var PhRe = regexp.MustCompile(`\${{[ ]{1}([^{}\s]+)[ ]{1}}}`) // [ ]{1} 强调前后均有且仅有一个空格
phRe 占位符正则表达式:
${{ configs.key }}
${{ dirs.preTaskName.fileName }}
${{ outputs.preTaskName.key }}
${{ params.key }}
${{ (echo hello world) }}
Functions ¶
func FindInvalidPlaceholders ¶
FindInvalidPlaceholders 找到表达式中不合规范的占位符
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.