I think TrimSuffix is faster than TrimRight
Use regexp.MustCompile rather than Compile so we don't need to check for an error
can compare against a char