mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix linting for server (except for length of apidoc)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
export function removePunctuationFromString (str) {
|
||||
return str.replace(/[.,\/#!@$%\^&;:{}=\-_`~()]/g, ' ');
|
||||
return str.replace(/[.,/#!@$%^&;:{}=\-_`~()]/g, ' ');
|
||||
}
|
||||
|
||||
export function getMatchesByWordArray (str, wordsToMatch) {
|
||||
|
||||
Reference in New Issue
Block a user