Enable ESLint no-useless-escape (#23311)
This commit is contained in:
parent
4da5f77d92
commit
db2c58d47a
12 changed files with 11 additions and 12 deletions
|
@ -24,7 +24,7 @@ const buildHashtagRE = () => {
|
|||
'))', 'iu',
|
||||
);
|
||||
} catch {
|
||||
return /(?:^|[^\/\)\w])#(\w*[a-zA-Z·]\w*)/i;
|
||||
return /(?:^|[^/)\w])#(\w*[a-zA-Z·]\w*)/i;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue