match no/none pronouns

This commit is contained in:
ItsVipra 2023-07-19 10:40:23 +02:00
parent 25d0280f8b
commit e45a7c36d6
No known key found for this signature in database

View file

@ -300,6 +300,10 @@ function extractFromBio(bio) {
if (anyAllPronouns) {
return anyAllPronouns[0];
}
const noPronouns = bio.match(/(no|none) +pronouns/);
if (noPronouns) {
return noPronouns[0];
}
return null;
}