typetext controlkey,a
typetext controlkey,c
put remoteclipboard(5) as a tree into myTree
put item 4 of myTree into a
delete every occurrence of "<!--" from a
log a我的变量a将有一个XML标记(已注释)值,我正在尝试取消对XMl标记的注释。
发布于 2020-01-14 18:52:24
在删除注释时,将XML视为文本可能比将其转换为树更容易。将模式与delete命令一起使用,如下所示:
delete every occurrence of <"<!--" then some characters then "-->"> in myXmlhttps://stackoverflow.com/questions/47567378
复制相似问题