#include <Array.au3> $sString = 'cab=cab cab=b' $aRes = StringRegExp($sString, '([abc]+)=\1', 4) Dim $test0 = $aRes[0], $test1 = $aRes[1] _ArrayDisplay($test0, '$test0') _ArrayDisplay($test1, '$test1') MsgBox(0, '单独使用元素', $test0[0] & @LF & _ $test0[1] & @LF & _ $test1[0] & @LF & _ $test1[1])
举报
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-10 19:45 , Processed in 0.095989 second(s), 14 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.