I'm forwarding this to the list.  Sascha sent me a modified Regex task to
let you set multiline or singleline.  I modified it so you could pass any of
the parameters in.  It seems to compile and operate in my limited tests.

John

-----Original Message-----
From: John Cole 
Sent: Thursday, June 10, 2004 9:43 AM
To: 'Sascha Andres'
Subject: RE: [nant-dev] another feature request, <regex> task


Sascha,
  Thanks for the patch.  One concern that I have is that the default
property is none on the regex object, so defaulting it to either multiline
or singleline may break some NAnt scripts.

  I modified your changes so that you could pass in a comma separated list
of options instead of setting a boolean value and I've attached the patch to
this email.

Thanks,

John Cole

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sascha
Andres
Sent: Saturday, June 05, 2004 2:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [nant-dev] another feature request, <regex> task


Hi,
* John Cole wrote on 04.06.2004 (15:29):
>   With the regular expression task, it would be nice to have control over
> the multiline and single line properties, so that your regular expressions
> could work against a file and not just a single line.

I attached a diff of the Regex task with an additional
multiline property. It's defaulting to false and is not
required. It should not break any current scripts. As I
don't use the task, I can't be sure. I could build nant with
the changes made, and all tests run through.

I used nant sources as of 25.05.2005.

-sa

-- 
sa at programmers-world dot com http://www.livingit.de
Internet sites:
  http://www.not2long.net - Make long links short
  Boomarks online: http://www.mobile-bookmarks.info


-------------------------------------
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager. This message contains 
confidential information and is intended only for the individual named. If you are not 
the named addressee you should not disseminate, distribute or copy this e-mail.

Attachment: RegexTask.diff
Description: Binary data

Reply via email to