You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
file-online-preview/office-plugin/windows-office/share/numbertext/zh.sor

172 lines
3.8 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Mandarin Chinese number names (simplified)
^0
1
2$
2
3
4
5
6
7
8
9
^1(\d) $1
(\d)(\d) $1|$2
(\d)0{2} $1
(\d)0(\d) $1$2
(\d)(\d\d) $1$2
(\d)0{3} $1
(\d)0(\d\d) $1$2
(\d)(\d\d\d) $1$2
(\d{1,4})0{4} $1|
(\d{1,4})0(\d{3}) $1|$2
(\d{1,4})(\d{4}) $1|$2
(\d{1,4})0{8} $1|亿
(\d{1,4})0(\d{7}) $1|亿$2
(\d{1,4})(\d{8}) $1|亿$2
(\d{1,4})0{12} $1|
(\d{1,4})0(\d{11}) $1|$2
(\d{1,4})(\d{12}) $1|$2
(\d{1,4})0{16} $1|
(\d{1,4})0(\d{15}) $1|$2
(\d{1,4})(\d{16}) $1|$2
(\d{1,4})0{20} $1|
(\d{1,4})0(\d{19}) $1|$2
(\d{1,4})(\d{20}) $1|$2
(\d{1,4})0{24} $1|
(\d{1,4})0(\d{23}) $1|$2
(\d{1,4})(\d{24}) $1|$2
(\d{1,4})0{28} $1|
(\d{1,4})0(\d{27}) $1|$2
(\d{1,4})(\d{28}) $1|$2
(\d{1,4})0{32} $1|
(\d{1,4})0(\d{31}) $1|$2
(\d{1,4})(\d{32}) $1|$2
(\d{1,4})0{36} $1|
(\d{1,4})0(\d{35}) $1|$2
(\d{1,4})(\d{36}) $1|$2
(\d{1,4})0{40} $1|
(\d{1,4})0(\d{39}) $1|$2
(\d{1,4})(\d{40}) $1|$2
(\d{1,4})0{44} $1|
(\d{1,4})0(\d{43}) $1|$2
(\d{1,4})(\d{44}) $1|$2
# negative numbers
[-](\d+) |$1
# decimals
"([-]?\d+)[.,]" "$1|点"
"([-]?\d+[.,]\d*)(\d)" $1||$2
# currency
# unit/subunit singular/plural
AUD
CHF
CNY
EUR
GBP
HKD
JPY
MOP
USD
# 1/10
# 1/100
"([A-Z]{3}) ([-]?\d+([.,]\d+)?)" $2$1
# Mandarin Chinese number names, formal numbers () for legal and financial documents, simplified
== formal ==
^0
1
2$
2
3
4
5
6
7
8
9
^1(\d) $(formal \1)
(\d)(\d) $(formal \1)|$(formal \2)
(\d)0{2} $(formal \1)
(\d)0(\d) $(formal \1)$(formal \2)
(\d)(\d\d) $(formal \1)$(formal \2)
(\d)0{3} $(formal \1)
(\d)0(\d\d) $(formal \1)$(formal \2)
(\d)(\d\d\d) $(formal \1)$(formal \2)
(\d{1,4})0{4} $(formal \1)|
(\d{1,4})0(\d{3}) $(formal \1)|$(formal \2)
(\d{1,4})(\d{4}) $(formal \1)|$(formal \2)
(\d{1,4})0{8} $(formal \1)|亿
(\d{1,4})0(\d{7}) $(formal \1)|亿$(formal \2)
(\d{1,4})(\d{8}) $(formal \1)|亿$(formal \2)
(\d{1,4})0{12} $(formal \1)|
(\d{1,4})0(\d{11}) $(formal \1)|$(formal \2)
(\d{1,4})(\d{12}) $(formal \1)|$(formal \2)
(\d{1,4})0{16} $(formal \1)|
(\d{1,4})0(\d{15}) $(formal \1)|$(formal \2)
(\d{1,4})(\d{16}) $(formal \1)|$(formal \2)
(\d{1,4})0{20} $(formal \1)|
(\d{1,4})0(\d{19}) $(formal \1)|$(formal \2)
(\d{1,4})(\d{20}) $(formal \1)|$(formal \2)
(\d{1,4})0{24} $(formal \1)|
(\d{1,4})0(\d{23}) $(formal \1)|$(formal \2)
(\d{1,4})(\d{24}) $(formal \1)|$(formal \2)
(\d{1,4})0{28} $(formal \1)|
(\d{1,4})0(\d{27}) $(formal \1)|$(formal \2)
(\d{1,4})(\d{28}) $(formal \1)|$(formal \2)
(\d{1,4})0{32} $(formal \1)|
(\d{1,4})0(\d{31}) $(formal \1)|$(formal \2)
(\d{1,4})(\d{32}) $(formal \1)|$(formal \2)
(\d{1,4})0{36} $(formal \1)|
(\d{1,4})0(\d{35}) $(formal \1)|$(formal \2)
(\d{1,4})(\d{36}) $(formal \1)|$(formal \2)
(\d{1,4})0{40} $(formal \1)|
(\d{1,4})0(\d{39}) $(formal \1)|$(formal \2)
(\d{1,4})(\d{40}) $(formal \1)|$(formal \2)
(\d{1,4})0{44} $(formal \1)|
(\d{1,4})0(\d{43}) $(formal \1)|$(formal \2)
(\d{1,4})(\d{44}) $(formal \1)|$(formal \2)
# negative numbers
[-](\d+) |$(formal \1)
# decimals
"([-]?\d+)[.,]" "$(formal \1)|点"
"([-]?\d+[.,]\d*)(\d)" $(formal \1)||$(formal \2)
# currency
# unit/subunit singular/plural
AUD
CHF
CNY
EUR
GBP
HKD
JPY
MOP
USD
# 1/10
# 1/100
"([A-Z]{3}) ([-]?\d+([.,]\d+)?)" $(formal \2)$(formal \1)
== help ==
"" |$(1)|, |$(2)|, |$(3)|\n$(help formal)
(formal) \1: |$(\1 1)|, |$(\1 2)|, |$(\1 3)|\n