Skip to content

Commit

Permalink
Revert "Fix Cyrillic Highlights"
Browse files Browse the repository at this point in the history
This reverts commit ae52190.
  • Loading branch information
AyIong committed Jan 15, 2024
1 parent ae52190 commit 75e8ad7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tgui/packages/tgui-panel/chat/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class ChatRenderer {
const highlightWholeMessage = setting.highlightWholeMessage;
const matchWord = setting.matchWord;
const matchCase = setting.matchCase;
const allowedRegex = /^[a-zа-яё0-9_\-$/^[\s\]\\]+$/gi;
const allowedRegex = /^[a-z0-9_\-$/^[\s\]\\]+$/gi;
const regexEscapeCharacters = /[!#$%^&*)(+=.<>{}[\]:;'"|~`_\-\\/]/g;
const lines = String(text)
.split(/[,|]/)
Expand Down
2 changes: 1 addition & 1 deletion tgui/public/tgui-panel.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 75e8ad7

Please sign in to comment.