modify the regex to handle the more of the characters allowed in params (e.g. @[]()')