ga.sor 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ^0 náid
  2. 1 aon
  3. 2$ dó
  4. 2 dhá
  5. 3 trí
  6. 4 ceathair
  7. 5 cúig
  8. 6 sé
  9. 7 seacht
  10. 8 ocht
  11. 9 naoi
  12. 10 deich
  13. 12 dó dhéag
  14. 1(\d) $1 déag
  15. (\d)([18]) $(\10) a h$2
  16. 2(\d) fiche[ a $1]
  17. 3(\d) tríócha[ a $1]
  18. 4(\d) ceathracha[ a $1]
  19. # 4(\d) daichead[ a $1] # alternative
  20. 5(\d) caoga[ a $1]
  21. 6(\d) seasca[ a $1]
  22. ([78])(\d) $1ó[ a $2]
  23. 9(\d) nócha[ a $1]
  24. (\d)(\d\d) $1 céad[ $2]
  25. (\d{1,3})(\d\d\d) $1 míle[ $2]
  26. (\d{1,3})(\d{6}) $1 milliún$(:\2)$2
  27. (\d{1,3})(\d{9}) $1 billiún$(:\2)$2
  28. (\d{1,3})(\d{12}) $1 trilliún$(:\2)$2
  29. # currency
  30. # unit/subunit
  31. u:([^,]*),([^,]*) \1
  32. s:([^,]*),([^,]*) \2
  33. EUR:(.) $(\1: euro, cent)
  34. GBP:(.) $(\1: punt steirling, pingin)
  35. USD:(.) $(\1: dollar, cent)
  36. "([A-Z]{3}) ([-−]?\d+)([.,]00?)?" $2$(\1:u)
  37. "(([A-Z]{3}) [-−]?\d+)[.,](\d)" $1 $(\30)$(\2:s)
  38. "(([A-Z]{3}) [-−]?\d+)[.,](\d\d)" $1 $3$(\2:s)
  39. == ordinal ==
  40. # chapter one -> caibidil a haon
  41. ([18]) a h$1
  42. (\d|10) a $1
  43. ([23]0) $1
  44. ([4-9]0) $1dú
  45. ([234])(\d) $(ordinal \2) is $(\10)
  46. (\d\d) a $1
  47. (.*) $1
  48. == ordinal-number ==
  49. (.*) \1.
  50. == help ==
  51. "" |$(1)|, |$(2)|, |$(3)|\n$(help ordinal)$(help ordinal-number)currency \(for example, EUR\): $(EUR 2.5)\n
  52. (.*) \1: |$(\1 1)|, |$(\1 2)|, |$(\1 3)|\n