mirror of
https://github.com/ItsVipra/ProToots
synced 2024-11-10 06:04:20 +00:00
Adjust matching regex to catch less unrelated words
This commit is contained in:
parent
e7aabc0af0
commit
e3ae217f46
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
import sanitizeHtml from "sanitize-html";
|
||||
|
||||
const fieldMatchers = [/pro.*nouns?/i, "pronomen"];
|
||||
const fieldMatchers = [/\bpro.*nouns?\b/i, "pronomen"];
|
||||
const knownPronounUrls = [
|
||||
/pronouns\.page\/:?([\w/@]+)/,
|
||||
/pronouns\.within\.lgbt\/([\w/]+)/,
|
||||
|
|
Loading…
Reference in a new issue