2024-07-16 15:55:31 +08:00

66 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

^0 náid
1 aon
2$ dó
2 dhá
3 trí
4 ceathair
5 cúig
6 sé
7 seacht
8 ocht
9 naoi
10 deich
12 dó dhéag
1(\d) $1 déag
(\d)([18]) $(\10) a h$2
2(\d) fiche[ a $1]
3(\d) tríócha[ a $1]
4(\d) ceathracha[ a $1]
# 4(\d) daichead[ a $1] # alternative
5(\d) caoga[ a $1]
6(\d) seasca[ a $1]
([78])(\d) $1ó[ a $2]
9(\d) nócha[ a $1]
(\d)(\d\d) $1 céad[ $2]
(\d{1,3})(\d\d\d) $1 míle[ $2]
(\d{1,3})(\d{6}) $1 milliún$(:\2)$2
(\d{1,3})(\d{9}) $1 billiún$(:\2)$2
(\d{1,3})(\d{12}) $1 trilliún$(:\2)$2
# currency
# unit/subunit
u:([^,]*),([^,]*) \1
s:([^,]*),([^,]*) \2
EUR:(.) $(\1: euro, cent)
GBP:(.) $(\1: punt steirling, pingin)
USD:(.) $(\1: dollar, cent)
"([A-Z]{3}) ([-]?\d+)([.,]00?)?" $2$(\1:u)
"(([A-Z]{3}) [-]?\d+)[.,](\d)" $1 $(\30)$(\2:s)
"(([A-Z]{3}) [-]?\d+)[.,](\d\d)" $1 $3$(\2:s)
== ordinal ==
# chapter one -> caibidil a haon
([18]) a h$1
(\d|10) a $1
([23]0) $1
([4-9]0) $1dú
([234])(\d) $(ordinal \2) is $(\10)
(\d\d) a $1
(.*) $1
== ordinal-number ==
(.*) \1.
== help ==
"" |$(1)|, |$(2)|, |$(3)|\n$(help ordinal)$(help ordinal-number)currency \(for example, EUR\): $(EUR 2.5)\n
(.*) \1: |$(\1 1)|, |$(\1 2)|, |$(\1 3)|\n