From e43d50260d8f3c55374bd1da65be0dff33a1fd6d Mon Sep 17 00:00:00 2001 From: Joseph Liu Date: Mon, 2 Dec 2024 19:40:41 -0500 Subject: [PATCH] fix(preset/english): remove erroneous patterns for `dick` Fixes #86 --- src/preset/english.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/preset/english.ts b/src/preset/english.ts index 6880a7f..bbd9d90 100644 --- a/src/preset/english.ts +++ b/src/preset/english.ts @@ -241,9 +241,6 @@ export const englishDataset = new DataSet<{ originalWord: EnglishProfaneWord }>( .addPhrase((phrase) => phrase .setMetadata({ originalWord: 'dick' }) - .addPattern(pattern`d?ck|`) - .addPattern(pattern`d?cke[e]s|`) - .addPattern(pattern`d?cks|`) .addPattern(pattern`|dck|`) .addPattern(pattern`dick`) .addWhitelistedTerm('benedick')