lb.sor 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. ^0 null
  2. 1$ eent
  3. 1 een
  4. 2 zwee
  5. 3 dräi
  6. 4 véier
  7. 5 fënnef
  8. 6 sechs
  9. 7 siwen
  10. 8 aacht
  11. 9 néng
  12. 10 zéng
  13. 11 eelef
  14. 12 zwielef
  15. 15 fofzéng
  16. 16 siechzéng
  17. 17 siwwenzéng
  18. 18 uechzéng
  19. 19 nonzéng
  20. 1(\d) $1zéng
  21. 20 zwanzeg
  22. 2(\d) $1anzwanzeg
  23. 30 drësseg
  24. 3(\d) $1andrësseg
  25. 4(\d) $1avéierzeg
  26. 50 foffzeg
  27. 5(\d) $1afoffzeg
  28. 60 siechzeg
  29. 6(\d) $1asiechzeg
  30. 70 siwwenzeg
  31. 7(\d) $1asiwwenzeg
  32. 80 achtzeg
  33. 8(\d) $1anachtzeg
  34. 90 nonzeg
  35. 9(\d) $1annonzeg
  36. (\d)0 $1zeg
  37. (\d)(\d) $2an$1zeg
  38. 1(\d\d) honnert$1
  39. (\d)(\d\d) $1honnert$2
  40. 1(\d{3}) dausend$1
  41. (\d{1,3})(\d{3}) $1dausend$2
  42. 1(\d{6}) eng Millioun[ $1]
  43. (\d{1,3})(\d{6}) $1 Milliounen[ $2]
  44. 1(\d{9}) eng Milliard[ $1]
  45. (\d{1,3})(\d{9}) $1 Milliarden[ $2]
  46. 1(\d{12}) eng Billioun[ $1]
  47. (\d{1,3})(\d{12}) $1 Billiounen[ $2]
  48. 1(\d{15}) eng Billiard[ $1]
  49. (\d{1,3})(\d{15}) $1 Billiarden[ $2]
  50. 1(\d{18}) eng Trillioun[ $1]
  51. (\d{1,3})(\d{18}) $1 Trilliounen[ $2]
  52. 1(\d{21}) eng Trilliard[ $1]
  53. (\d{1,3})(\d{21}) $1 Trilliarden[ $2]
  54. # negative number
  55. [-−](\d+) minus |$1
  56. # decimals
  57. "([-−]?\d+)[.,]" $1| Komma
  58. "([-−]?\d+[.,]\d*)(\d)" $1| |$2
  59. # currency
  60. # unit/subunit singular/plural
  61. us:([^,]*),([^,]*),([^,]*),([^,]*) \1
  62. up:([^,]*),([^,]*),([^,]*),([^,]*) \2
  63. ss:([^,]*),([^,]*),([^,]*),([^,]*) \3
  64. sp:([^,]*),([^,]*),([^,]*),([^,]*) \4
  65. CHF:(\D+) $(\1: Schwäizer Frang, Schwäizer Frang, Rappen, Rappen)
  66. CNY:(\D+) $(\1: Yuan, Yuan, Fen, Fen)
  67. EUR:(\D+) $(\1: Euro, Euro, Cent, Cent)
  68. GBP:(\D+) $(\1: Pond Sterling, Pond Sterling, Penny, Pence)
  69. USD:(\D+) $(\1: US-Dollar, US-Dollar, Cent, Cents)
  70. "JPY ([-−]?\d+([.,]\d+)?)" $1 Yen
  71. "([A-Z]{3}) ([-−]?1)([.,]00?)?" $2$(\1:us)
  72. "([A-Z]{3}) ([-−]?\d+)([.,]00?)?" $2$(\1:up)
  73. "(CNY [-−]?\d+)[.,]10?" $1 $2 Jiao
  74. "(CNY [-−]?\d+)[.,](\d)0?" $1 $2 Jiao
  75. "(CNY [-−]?\d+[.,]\d)1" $1 $2 Fen
  76. "(CNY [-−]?\d+[.,]\d)(\d)" $1 $2 Fen
  77. "(([A-Z]{3}) [-−]?\d+)[.,](01)" $1 an $(1)$(\2:ss)
  78. "(([A-Z]{3}) [-−]?\d+)[.,](\d)" $1 an $(\30)$(\2:sp)
  79. "(([A-Z]{3}) [-−]?\d+)[.,](\d\d)" $1 an $3$(\2:sp)
  80. == ordinal ==
  81. ([-−]?[0245679]) $1t
  82. ([-−]?\d*0[245679]) $1t
  83. ([-−]?\d*1\d) $1t
  84. ([-−]?\d+) $(ordinal $1)
  85. (.*)eent \1éischt
  86. (.*)dräi \1drëtt
  87. (.*)aacht \1aacht
  88. "(.*)eine Milli(on|ard)e?" \1einmilli\2st
  89. "(.*)eine Billi(on|ard)e?" \1einbilli\2st
  90. "(.*)eine Trilli(on|ard)e?" \1eintrilli\2st
  91. "(.*) Milli(on|ard)en" \1milli\2st
  92. "(.*) Billi(on|ard)en" \1billi\2st
  93. "(.*) Trilli(on|ard)en" \1trilli\2st
  94. (.*) \1st
  95. == ordinal-number ==
  96. (\d+) \1.
  97. == help ==
  98. "" |$(1)|, $(2), $(3)\n$(help ordinal)$(help ordinal-number)
  99. (ordinal(-number)?) \1: |$(\1 1)|, $(\1 2), $(\1 3)\n