A
Size: a a a
A
c
In : int('୧৬𝟙༣')
Out: 1613
0 1 2 3 4 5 6 7 8 9
are not the only characters that are considered digits. Python follows Unicode rules and treats several hundreds of symbols as digits, here is the full list.int
, unicode.isdecimal
and even re.match
:In : int('෯')
Out: 9
In : '٢'.isdecimal()
Out: True
In : bool(re.match('\d', '౫'))
Out: True
R.
In : int('୧৬𝟙༣')
Out: 1613
0 1 2 3 4 5 6 7 8 9
are not the only characters that are considered digits. Python follows Unicode rules and treats several hundreds of symbols as digits, here is the full list.int
, unicode.isdecimal
and even re.match
:In : int('෯')
Out: 9
In : '٢'.isdecimal()
Out: True
In : bool(re.match('\d', '౫'))
Out: True
R.
In : int('୧৬𝟙༣')
Out: 1613
0 1 2 3 4 5 6 7 8 9
are not the only characters that are considered digits. Python follows Unicode rules and treats several hundreds of symbols as digits, here is the full list.int
, unicode.isdecimal
and even re.match
:In : int('෯')
Out: 9
In : '٢'.isdecimal()
Out: True
In : bool(re.match('\d', '౫'))
Out: True
R.
R.
c
R.
R.
c
S
Уа
Уа
Уа
Уа
R.
R.
Уа
R.
last -x
.R.
less /var/log/syslog/
?Linux