implemented Regex::ToString