(x, mark)
| 2435 | |
| 2436 | //reject |
| 2437 | function rw_reject(x, mark) { |
| 2438 | let noteK = isNoteK(x) |
| 2439 | let rwptn = x |
| 2440 | .replace(/^#/, '') |
| 2441 | .split(/\s+/)[0] |
| 2442 | .replace(/^"(.+)"$/, '$1') |
| 2443 | let rwtype = x.match(/reject(-\w+)?$/i)[0].toLowerCase() |
| 2444 | |
| 2445 | rwBox.push({ mark, noteK, rwptn, rwvalue: '-', rwtype }) |
| 2446 | } |
| 2447 | |
| 2448 | //重定向 |
| 2449 | function rw_redirect(x, mark) { |
no test coverage detected