regex constr. simplified