fixed bug in domain parser regex