make regex not to be too long