Felice,

>>> Public Const TEST_VERSION As String = "Test Program 1.0.0.1"

Assuming you can have more than one digit in each of the four positions:

\d+\.\d+\.\d+\.\d+

because "\d" says "any digit" and the following "+" says "one or more."  
Periods are regex characters representing any character, so you have to escape 
them as "\." so that it knows you mean a literal period.

The above pattern will find the version number ANYWHERE in the script, not just 
at the end, which should be alright.

Merrill


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to