#1
|
|||
|
|||
Read File step - regex question
I'd love to see an example of Read File using a regex with a non-capturing group. My step is matching the lines correctly, but even non-capturing groups are captured when I choose "Include all matches":
<step action='Read File'> <AllMatches type='11'>-1</AllMatches> <FailNoMatch type='11'>-1</FailNoMatch> <FileIn>%FOLDER%\p4changes.txt</FileIn> <Find>(?:Change )([[0-9)]]+)</Find> <Log type='11'>-1</Log> <Macro>LIST</Macro> <Match type='3'>1</Match> <NoModS type='11'>-1</NoModS> <indent type='3'>3</indent> <name>Read File</name> </step> I get result of: Change 106 Change 105 etc. but I need result of: 106 105 etc. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|