Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-20-2010, 07:56 AM
kodakdave kodakdave is online now
Registered User
 
Join Date: 04-14-2010
Posts: 12
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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:55 AM.


Copyright © 1999-2023 Kinook Software, Inc.