Fish Wang says to YSITD text.match(/(\\\\|\\.|.)/g).map(function (in) {if (in === '\\n') return '\n'; return in;}) 要成雙成對的單用regex辦不到啦