Ant Tokenizer: Selecting an individual Token
- by John Oxley
I have the following ant task:
<loadfile property="proj.version" srcfile="build.py">
    <filterchain>
        <striplinecomments>
            <comment value="#"/>
        </striplinecomments>
        <linecontains>
            <contains value="Version" />
        </linecontains>
    </filterchain>
</loadfile>
<echo message="${proj.version}" />
And the output is
 [echo] config ["Version"]          = "v1.0.10-r4.2"
How do I then use a tokenizer to get only v1.0.10-r4.2, the equivalent of 
| cut -d'"' -f4