What is the range for Arabic-Indic Digits (Hindu–Arabic) numeral utf8 from 0 to 9

馋奶兔 提交于 2019-12-30 07:51:07

问题


What is the range for Arabic-Indic Digits (Hindu–Arabic) numeral utf8 from 0 to 9 for the use in regular expressions:

to use in regex.


回答1:


U+06F0–U+06F9. As can be easily seen when checking a Unicode code point chart or the Character Map.




回答2:


finally I found the answer

for only numbers: \x{0660}-\x{0669}

for numbers and letters: \x{0600}-\x{06ff}

Unicode 4.0 / ISO 10646 Plane 0

thanks you all.



来源:https://stackoverflow.com/questions/14834846/what-is-the-range-for-arabic-indic-digits-hindu-arabic-numeral-utf8-from-0-to

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!