inefficient regex for domain validation (exp. complexity)

Edited by Miroslav Bodecek