Info
- Rulename
- num-val
- Dependencies
- BIT, bin-val, DIGIT, dec-val, HEXDIG, hex-val, num-val
- Used Builtins
- BIT, DIGIT, HEXDIG
Alphabet
%
-
.
0…1
2…9
A C E…F a c e…f
B b
D d
X x
Translations
ECMAScript/JavaScript Regular Expression Literal
/^%([Dd][0-9]+(|-[0-9]+|\.[0-9](\.?[0-9])*)|[Bb][0-1]+(|-[0-1]+|\.[0-1](\.?[0-1])*)|[Xx][0-9A-Fa-f]+(|-[0-9A-Fa-f]+|\.[0-9A-Fa-f](\.?[0-9A-Fa-f])*))$/
Swift Regular Expression
%([Dd][0-9]+(|-[0-9]+|\.[0-9](\.?[0-9])*)|[Bb][0-1]+(|-[0-1]+|\.[0-1](\.?[0-1])*)|[Xx][0-9A-Fa-f]+(|-[0-9A-Fa-f]+|\.[0-9A-Fa-f](\.?[0-9A-Fa-f])*))
POSIX Extended Regular Expression
%([Dd][0-9][0-9]*(|-[0-9][0-9]*|\.[0-9](\.?[0-9])*)|[Bb][0-1][0-1]*(|-[0-1][0-1]*|\.[0-1](\.?[0-1])*)|[Xx][0-9A-Fa-f][0-9A-Fa-f]*(|-[0-9A-Fa-f][0-9A-Fa-f]*|\.[0-9A-Fa-f](\.?[0-9A-Fa-f])*))