🐛 fix(constants.ts): add backtick (`) and backtick (´) to specialCharsRegex to include them as special characters

This commit is contained in:
Cristhian Zanforlin Lousa 2023-08-14 16:39:22 -03:00
commit 754d26633a

View file

@ -29,7 +29,7 @@ export const INVALID_CHARACTERS = [
*/
export const regexHighlight = /\{([^}]+)\}/g;
export const specialCharsRegex = /[!@#$%^&*()\-_=+[\]{}|;:'",.<>/?\\]/;
export const specialCharsRegex = /[!@#$%^&*()\-_=+[\]{}|;:'",.<>/?\\`´]/;
export const programmingLanguages: languageMap = {
javascript: ".js",