断言或关联取值,正则表达式中包含尖括号时取值失败了

提问 1 113
黑桃
黑桃 LV2 3月6日 16:19 发表
<p> </p><p><img src="http://talk-cdn.liumatest.cn/85a6adb6-89dc-491b-97d6-d0036bef8099.png" style="max-width:100%;"></p><p><br></p><p><img src="http://talk-cdn.liumatest.cn/0022488d-b875-4c5a-a310-fa560c14b4a9.png" style="max-width:100%;"></p> <p><img src="http://talk-cdn.liumatest.cn/fc2d485b-5725-4171-8dc7-88746f19af0d.png" style="max-width:100%;"></p><p><br></p><p><br></p><p><img src="http://talk-cdn.liumatest.cn/8f4994c0-b79b-46ec-bd7a-34a1911eab45.png" style="max-width:100%;"></p><p><img src="http://talk-cdn.liumatest.cn/f480feb6-a3de-4db6-a959-7c3c541058d7.png" style="max-width:100%;"></p><p><br></p>
收藏(0)  分享
相关标签: 测试平台 提问
注意:本文归作者所有,未经作者允许,不得转载
1个回复
  • Chras-fu
    3月6日 17:18
    尖括号在正则中是特殊字符吧,用反斜杠转义一下。或者如果你是企业版,这种xml用xpath表达式更好
    0 0