ms.sor 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. ^0 kosong
  2. 1 satu
  3. 2 dua
  4. 3 tiga
  5. 4 empat
  6. 5 lima
  7. 6 enam
  8. 7 tujuh
  9. 8 lapan
  10. 9 sembilan
  11. 10 sepuluh
  12. 11 sebelas
  13. 1(\d) $1 belas
  14. (\d)(\d) $1 puluh[ $2]
  15. 1(\d\d) seratus[ $1]
  16. (\d)(\d\d) $1 ratus[ $2]
  17. 1(\d{3}) seribu[ $1]
  18. (\d{1,3})(\d{3}) $1 ribu[ $2]
  19. # sejuta or setu juta etc.
  20. (\d{1,3})(\d{6}) $1 juta[ $2]
  21. (\d{1,3})(\d{9}) $1 bilion[ $2]
  22. (\d{1,3})(\d{12}) $1 trilion[ $2]
  23. (\d{1,3})(\d{15}) $1 kuadrilion[ $2]
  24. (\d{1,3})(\d{18}) $1 kuantilion[ $2]
  25. (\d{1,3})(\d{21}) $1 sextilion[ $2]
  26. (\d{1,3})(\d{24}) $1 septilion[ $2]
  27. # negative numbers
  28. [-−](\d+) minus |$1
  29. # decimals
  30. "([-−]?\d+)[.,]" $1| koma
  31. "([-−]?\d+[.,]\d*)(\d)" $1| |$2
  32. # currency
  33. # unit/subunit
  34. u:(.*),(.*) \1
  35. s:(.*),(.*) \2
  36. AUD:(.) $(\1: dollar Australia, sen)
  37. BGN:(.) $(\1: lev, leva, stotinka, stotinki)
  38. BWP:(.) $(\1: pula, pula, thebe, thebe)
  39. CAD:(.) $(\1: dollar Kanada, sen)
  40. CHF:(.) $(\1: franc Swiss, sen)
  41. CNY:(.) $(\1: yuan, fen)
  42. CZK:(.) $(\1: koruna Czech, koruna Czech, halér, halére)
  43. EEK:(.) $(\1: kroon, kroonid, sen)
  44. EUR:(.) $(\1: euro, sen)
  45. GBP:(.) $(\1: pound sterling, penny)
  46. GHS:(.) $(\1: cedi Ghana, pesewas)
  47. GMD:(.) $(\1: dalasi, bututs)
  48. HKD:(.) $(\1: dollar Hongkong, sen)
  49. IDR:(.) $(\1: rupiah, sen)
  50. INR:(.) $(\1: rupee India, paisa)
  51. JMD:(.) $(\1: dollar Jamaika, sen)
  52. JPY:(.) $(\1: yen, sen)
  53. KRW:(.) $(\1: won, chon)
  54. KES:(.) $(\1: shilling Kenya, sen)
  55. LRD:(.) $(\1: dollar Liberia, sen)
  56. LSL:(.) $(\1: loti, sente)
  57. LTL:(.) $(\1: litas, sen)
  58. LVL:(.) $(\1: lats, sen)
  59. MGA:(.) $(\1: ariary, iraimbilanja)
  60. MUR:(.) $(\1: rupee Mauritius, sen)
  61. MXN:(.) $(\1: peso Meksiko, centavo)
  62. MWK:(.) $(\1: kwacha Malawi, tambala)
  63. MYR:(.) $(\1: Ringgit, sen)
  64. NAD:(.) $(\1: dollar Namibia, sen)
  65. NGN:(.) $(\1: naira, kobo)
  66. NZD:(.) $(\1: dollar New Zealand, sen)
  67. PGK:(.) $(\1: kina, toea)
  68. PHP:(.) $(\1: peso Filipina, centavo)
  69. PKR:(.) $(\1: rupee Pakistan, paisa)
  70. PLN:(.) $(\1: zloty, grosz)
  71. RON:(.) $(\1: leu Romania, ban)
  72. RSD:(.) $(\1: dinar Serbia, para)
  73. RUB:(.) $(\1: ruble Russia, kopek)
  74. RWF:(.) $(\1: franc Rwanda, centime)
  75. SGD:(.) $(\1: dollar Singapura, sen)
  76. SLL:(.) $(\1: leone, sen)
  77. SZL:(.) $(\1: lilangeni, sen)
  78. THB:(.) $(\1: baht, satang)
  79. TRY:(.) $(\1: lira Turki, kurus)
  80. TTD:(.) $(\1: dollar Trinidad dan Tobago, sen)
  81. TZS:(.) $(\1: shilling Tanzania,sen)
  82. UAH:(.) $(\1: hryvnia, kopiyka)
  83. UGX:(.) $(\1: shilling Uganda, sen)
  84. USD:(.) $(\1: dolar Amerika, sen)
  85. ZAR:(.) $(\1: rand Afrika Selatan, sen)
  86. ZMK:(.) $(\1: kwacha Zambia, ngwee)
  87. ZWL:(.) $(\1: dollar Zimbabwe, sen)
  88. "(JPY [-−]?\d+)[.,](\d\d)0" $1
  89. "(JPY [-−]?\d+[.,]\d\d)(\d)" $1 $2 rin
  90. "([A-Z]{3}) ([-−]?\d+)([.,]00?)?" $2$(\1:u)
  91. "(CNY [-−]?\d+)[.,](\d)0?" $1 $2 yiao
  92. "(CNY [-−]?\d+[.,]\d)(\d)" $1 $2 fen
  93. "(([A-Z]{3}) [-−]?\d+)[.,](\d)" $1 dan $(\30)$(\2:s)
  94. "(([A-Z]{3}) [-−]?\d+)[.,](\d\d)" $1 dan $3$(\2:s)
  95. == ordinal ==
  96. 1 pertama
  97. (\d+) $(ordinal ke$1)
  98. "kesatu (.*)" kese\1
  99. (.*) \1
  100. == ordinal-number ==
  101. 1 1
  102. (\d+) ke-\1
  103. == help ==
  104. "" $(1), $(2), $(3)\n$(help ordinal)$(help ordinal-number)
  105. (ordinal(-number)?) \1: $(\1 1), $(\1 2), $(\1 3)\n