Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-10-2014, 05:39 PM
modernrocketry modernrocketry is online now
Registered User
 
Join Date: 04-06-2006
Posts: 19
Regex and Read File step

I'm trying to use regex in a Read File Step. I'm looking for a substring match. However I cannot get VBP to return a positive results regardless of how vague the regex.

Is there a problem using regex in 8.4 ( or more likely... what am I doing wrong?)

Using VBP 8.4

Here are the steps to see my issue:


<step action='Log Message'>
<Level type='3'>4</Level>
<Message><![CDATA[The quick brown fox jumped over the lazy dog.
There were 614 instances of students getting 90.0%% or above.
The FCC had to censor the network for saying &#$*@!]]></Message>
<buildfailsteps type='11'>0</buildfailsteps>
<indent type='3'>1</indent>
<name>Log Message</name>
</step>
<step action='Read File'>
<AllMatches type='11'>-1</AllMatches>
<Encoding>ASCII</Encoding>
<FailNoMatch type='11'>-1</FailNoMatch>
<Find>\w</Find>
<Input type='3'>1</Input>
<Log type='11'>-1</Log>
<NoModS type='11'>-1</NoModS>
<String>%LASTSTEP_OUTPUT%</String>
<buildfailsteps type='11'>0</buildfailsteps>
<indent type='3'>1</indent>
<name>Read Output of Last Step and regex something</name>
</step>
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 07:38 AM.


Copyright © 1999-2023 Kinook Software, Inc.