text-finder
Version:
Searching word in string, faster and flexible.
43 lines (42 loc) • 612 B
JavaScript
/* eslint-disable quote-props */
module.exports = {
' ': ' ',
'!': '!',
'”': '"',
'#': '#',
'$': '$',
'%': '%',
'&': '&',
'’': '\'',
'(': '(',
')': ')',
'*': '*',
'+': '+',
',': ',',
'ー': '-',
'.': '.',
'/': '/',
':': ':',
';': ';',
'<': '<',
'=': '=',
'>': '>',
'?': '?',
'@': '@',
'[': '[',
'\': '\\',
']': ']',
'^': '^',
'_': '_',
'`': '`',
'{': '{',
'|': '|',
'}': '}',
'〜': '~',
'。': '。',
'「': '「',
'」': '」',
'、': '、',
'・': '・',
'ー': '-'
};