Effects of regulation on a self-organized market