Thanks everyone .. I got it working.
Felice
-Original Message-
From: Castro, Edwin Gabriel (Firing Systems Engr.)
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 1:09 PM
To: Felice Vittoria; Nant-Users (E-mail)
Subject: RE: [Nant-users] regex help
Try something like this
n TEST_VERSION in it.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nant-users-
> [EMAIL PROTECTED] On Behalf Of Felice Vittoria
> Sent: Wednesday, December 08, 2004 9:14 AM
> To: Nant-Users (E-mail)
> Subject: [Nant-users] regex help
>
> Hey guys/gals,
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,
Hey guys/gals,
I'm using the regex task. This is more of a regular expression syntax more of
Nant's usage. I have the following string in one of my files:
Public Const TEST_VERSION As String = "Test Program 1.0.0.1"
What do I enter for regex's pattern attribute so that I can get the value