Skip to content

Commit e33ecb5

Browse files
author
Yimche
committed
alyssa fixed my horrid regex
1 parent 7a27b53 commit e33ecb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reacts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const REACTIONS: [RegExp, string][] = [
99
[/cs(?:sa)?ball/i, "1221369746927386624"],
1010
[/typ[$s]t/i, "1222501775584788600"],
1111
[/latex/i, "1227561586701635626"],
12-
[/(\sn|^n)ix(?:os)/i, "1352465159225868288"],
12+
[/(\s|^)nix(os)?(\s|$)/i, "1352465159225868288"],
1313
];
1414

1515
export default function addReactionEvents(): void {

0 commit comments

Comments
 (0)