ProfanityDetector icon indicating copy to clipboard operation
ProfanityDetector copied to clipboard

Fix case insensitivity in ContainsProfanity

Open BrianHendrickson opened this issue 4 years ago • 0 comments

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.

BrianHendrickson avatar Aug 19 '21 05:08 BrianHendrickson