Re: containsregex and concat

2006-11-29 Thread Brian Agnew
>> >> >> >> >> >> >> >> Summary == ${summary} >> >> >> >> gives only the text = >> >> depends: >> main: >>

Re: containsregex and concat

2006-11-28 Thread George Bills
CESSFUL Total time: 407 milliseconds you have to use \1 and byline=true Regards, Gilbert -Original Message- From: George Bills [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 28, 2006 6:14 AM To: Ant Users List Subject: Re: containsregex and concat Thanks: the regular expression works

RE: containsregex and concat

2006-11-27 Thread Rebhan, Gilbert
SUCCESSFUL Total time: 407 milliseconds you have to use \1 and byline=true Regards, Gilbert -Original Message- From: George Bills [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 28, 2006 6:14 AM To: Ant Users List Subject: Re: containsregex and concat Thanks: the regular expression works

RE: containsregex and concat

2006-11-27 Thread Rebhan, Gilbert
D] Sent: Tuesday, November 28, 2006 7:30 AM To: Ant Users List Subject: RE: containsregex and concat Hi, i'm still a newbie to ruby, maybe there's a more elegant solution, you need jruby available for ant http://dist.codehaus.org/jruby/jruby-bin-0.9.1.tar.gz given test.txt = abcd xyz wh

RE: containsregex and concat

2006-11-27 Thread Rebhan, Gilbert
uilds ;-) If needed you can match 1 or 2 or 3 digits with \d{1,3} and so on ... Regards, Gilbert -Original Message- From: George Bills [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 28, 2006 6:14 AM To: Ant Users List Subject: Re: containsregex and concat Thanks: the regular expression

Re: containsregex and concat

2006-11-27 Thread George Bills
Gilbert wrote: Hi, /]*>(.*?) should match : foobar also with more than one attribute foobar foobar is /1 (group 1) Regards, Gilbert -Original Message- From: George Bills [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 6:41 AM To: Ant Users List Subject: Re: containsrege

RE: containsregex and concat

2006-11-27 Thread Rebhan, Gilbert
Hi, /]*>(.*?) should match : foobar also with more than one attribute foobar foobar is /1 (group 1) Regards, Gilbert -Original Message- From: George Bills [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 6:41 AM To: Ant Users List Subject: Re: containsregex

Re: containsregex and concat

2006-11-26 Thread George Bills
Hrm, it probably isn't since advanced regexs are still black magic to me. The "." was supposed to match any character, including a newline (with the s flag), the * to say match 0-n of them and the ? to say be lazy, match as little as possible (so that I don't pull in .. in one match). I j

Re: containsregex and concat

2006-11-26 Thread Dave Brosius
.*? doesn't seem right to me. what's that's suppposed to do? probably something like [^<]* - Original Message - From: "George Bills" <[EMAIL PROTECTED]> To: Sent: Sunday, November 26, 2006 11:47 PM Subject: containsregex and concat I've been trying to use a regular expression an