Why is v1.0.0 not matching /^v[0-9]+(?:.[0-9]+)+$/g regex in test construct

后端 未结 0 1494
深忆病人
深忆病人 2020-12-01 17:35

I\'m trying to match version codes with regex to do some action based on the matching result. Using the regex in GitLab-CI is working fine, also echo "v1.0.0"

相关标签:
回答
  • 消灭零回复
提交回复
热议问题