(numerals)
| 9524 | } |
| 9525 | |
| 9526 | function formatNumerals(numerals) { |
| 9527 | return function(value) { |
| 9528 | return value.replace(/[0-9]/g, function(i) { |
| 9529 | return numerals[+i]; |
| 9530 | }); |
| 9531 | }; |
| 9532 | } |
| 9533 | |
| 9534 | // [[fill]align][sign][symbol][0][width][,][.precision][~][type] |
| 9535 | var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i; |
no test coverage detected