Replaced regex.
Updated constant docs.