mirror of
https://github.com/ItsVipra/ProToots
synced 2024-11-10 06:04:20 +00:00
add matcher for "(i) go(es) by"
This commit is contained in:
parent
9d8c0332be
commit
96c530c30f
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
import sanitizeHtml from "sanitize-html";
|
||||
|
||||
const fieldMatchers = [/\bpro.*nouns?\b/i, /\bpronomen\b/i];
|
||||
const fieldMatchers = [/\bpro.*nouns?\b/i, /\bpronomen\b/i, /(i )?go(es)? by/i];
|
||||
const knownPronounUrls = [
|
||||
/pronouns\.page\/:?([\w/@]+)/,
|
||||
/pronouns\.within\.lgbt\/([\w/]+)/,
|
||||
|
|
|
@ -12,6 +12,8 @@ const validFields = [
|
|||
"Pronouns / Pronomen",
|
||||
"Pronomen (DE)",
|
||||
"Pronouns (EN)",
|
||||
"i go by",
|
||||
"go by",
|
||||
];
|
||||
const invalidFields = ["pronounciation", "pronomenverwaltung"];
|
||||
|
||||
|
|
Loading…
Reference in a new issue