made saas url parameter regex more flexible