Re: Regexp patterns

2005-09-27 Thread João Augusto Charnet
Worked perfectly. Thanks Andrew, and Jon John. Jon McLennan wrote: Actually, you should only need to put parentheses around the entire pattern: match="(pattern1|pattern2|pattern3|pattern4)" replace="" Jon Andrew Goktepe wrote: Try this:   match="pattern

Re: Regexp patterns

2005-09-27 Thread Jon McLennan
Actually, you should only need to put parentheses around the entire pattern: match="(pattern1|pattern2|pattern3|pattern4)" replace="" Jon Andrew Goktepe wrote: Try this: match="pattern1|pattern2|pattern3|pattern4" replace="" If that doesn't work try putting parentheses around each pattern

Re: Regexp patterns

2005-09-27 Thread Andrew Goktepe
Try this:   match="pattern1|pattern2|pattern3|pattern4" replace=""   If that doesn't work try putting parentheses around each pattern in the above regexp   -Andrew  On 9/27/05, João Augusto Charnet <[EMAIL PROTECTED]> wrote: In this case yes.Actually I'm removing these patterns, replacing them with

Re: Regexp patterns

2005-09-27 Thread João Augusto Charnet
In this case yes. Actually I'm removing these patterns, replacing them with a "" . John. Andrew Goktepe wrote: Are you replacing the same string for all 4 patterns?   -Andrew   On 9/26/05, João Augusto Charnet <[EMAIL PROTECTED]> wrote: Hello, I'm need to do 4 replaces in more th

Re: Regexp patterns

2005-09-27 Thread HariPrasad M
To the Moderator of this mailing list: Please unsubcribe me out of this list. If i try sending mail to the unsubscribe mail id, it is getting bounced back mentioning that my mail crosses the spam limit of 5.5. So all my unsusbcribe mails are being rejected as spams. Thanks and Regards, Hari  

Re: Regexp patterns

2005-09-26 Thread Andrew Goktepe
Are you replacing the same string for all 4 patterns?   -Andrew  On 9/26/05, João Augusto Charnet <[EMAIL PROTECTED]> wrote: Hello,I'm need to do 4 replaces in more than 100 files, using replaceregexp task. My problem is that I'm doing 4 times the replaceregexp task, and it's beeing to costly.Is th

Regexp patterns

2005-09-26 Thread João Augusto Charnet
Hello, I'm need to do 4 replaces in more than 100 files, using replaceregexp task. My problem is that I'm doing 4 times the replaceregexp task, and it's beeing to costly. Is there a way I can tell the replaceregexp task to find more than one pattern in a file, instead of only one ? Thanks a lo