(input)
| 2042 | } |
| 2043 | |
| 2044 | function removeFormattingTokens(input) { |
| 2045 | if (input.match(/\[[\s\S]/)) { |
| 2046 | return input.replace(/^\[|\]$/g, ''); |
| 2047 | } |
| 2048 | return input.replace(/\\/g, ''); |
| 2049 | } |
| 2050 | |
| 2051 | function makeFormatFunction(format) { |
| 2052 | var array = format.match(formattingTokens), i, length; |
no outgoing calls
no test coverage detected