(input)
| 15286 | } |
| 15287 | |
| 15288 | function removeFormattingTokens(input) { |
| 15289 | if (input.match(/\[[\s\S]/)) { |
| 15290 | return input.replace(/^\[|\]$/g, ''); |
| 15291 | } |
| 15292 | return input.replace(/\\/g, ''); |
| 15293 | } |
| 15294 | |
| 15295 | function makeFormatFunction(format) { |
| 15296 | var array = format.match(formattingTokens), i, length; |
no outgoing calls
no test coverage detected