On 10/05/2011 10:39 AM, T Elcor wrote: > I had similar idea > (a\.|b\.|)domain\.tld(|/c/) > but just like your regex it would block the whole domain.tld as well, which > isn't what I want.
I overlooked that. Well, ([ab]\.domain.tld)|(domain.tld/c/) should work and is one regexp, but it is ugly. I'd use two separate ones, one for matching things at the beginning and one for things at the end. -- FORTUNE PROVIDES QUESTIONS FOR THE GREAT ANSWERS: #21 A: Dr. Livingston I. Presume. Q: What's Dr. Presume's full name? Eduardo M KALINOWSKI edua...@kalinowski.com.br -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e8c61bc.9010...@kalinowski.com.br