| 407 | let indexes = new Map(numerals.map((d, i) => [d, i])); |
| 408 | let numeral = new RegExp(`[${numerals.join('')}]`, 'g'); |
| 409 | let index = d => String(indexes.get(d)); |
| 410 | |
| 411 | return {minusSign, plusSign, decimal, group, literals, numeral, numerals, index, noNumeralUnits}; |
| 412 | } |