[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Javascript regex Q



--- On Wed, 10/5/11, Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> wrote:

> Well, ([ab]\.domain.tld)|(domain.tld/c/)
> 
> should work and is one regexp, but it is ugly.

Yeah, that should work but I was hoping there'd be a more elegant way of doing that.

> I'd use two separate ones

That's what I'm doing now.


Reply to: