Files
discord-decomp/modules/stickers/StickersSuggestionUtils.tsx
T
2026-11-01 12:12:55 +02:00

10 lines
343 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Metro module 4858 (f4859).
let c2991_0 = /(!|\.|;|,|-|—|–|\?|"|')/g;
let c2991_1 = /(\n|\t|\s)/g;
export function removePunctuation(a0) {
return a0.replace(c2991_0, "").replace(c2991_1, " ");
}
export function getQueriesFromUserInput(a0) {
return a0 == null ? [] : a0.replace(c2991_0, "").replace(c2991_1, " ").trim().split(" ");
}