ProfanityDetector
ProfanityDetector copied to clipboard
Fix case insensitivity in ContainsProfanity
ContainsProfanity case insensitivity does not work because RegexOptions.IgnoreCase does not apply when used to create a Regex object. This change fixes it by adding the option to the call to Regex.Matches instead.