ibm-doors - 如何将一行从一个属性复制到 DOOR 中的另一个属性
问题描述
我正在尝试从 DOORS 一个属性中复制一行并将该行写入 DOORS 中的另一个属性。
解决方案
或多或少直接来自 DXL 手册
Object o = current // might be set in a loop
Regexp line = regexp2 ".*"
string sTextValue = o."Object Text"""
string sLastLine = ""
while (!null sTextValue && line sTextValue) {
sLastLine = sTextValue[match 0]
sTextValue = sTextValue [end 0 + 2:]
}
print "->" sLastLine "<-\n"
o."Other Attribute" = sLastLine
推荐阅读
- webdriver-io - 如何向利益相关者分享魅力报告?
- python - Python 热图白线问题
- powershell - Terraform - 无法启动 terraform
- python - 如何在 Python 中将多个 PDF 转换为同一文件夹中的图像?
- python - 有什么理由不更新 pip3?
- php - 如何在多作者 WordPress 的自定义评论视图中显示来自 WP_Comment_Query 的评论总数?
- javascript - 反应中的CSS3动画搜索框不起作用
- python - 有人可以帮我循环这个脚本(Python)吗?
- azure - Azure 函数绑定/Cosmos DB 删除
- python - 我的 python 代码不会通过 elif 语句