fixed regex replacing with subgroups
fixed quantity pass ande dependency pass wrt dot notation