Enable ESLint no-useless-escape (#23311)
This commit is contained in:
@ -24,7 +24,7 @@ const buildHashtagRE = () => {
|
||||
'))', 'iu',
|
||||
);
|
||||
} catch {
|
||||
return /(?:^|[^\/\)\w])#(\w*[a-zA-Z·]\w*)/i;
|
||||
return /(?:^|[^/)\w])#(\w*[a-zA-Z·]\w*)/i;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user