\d
matches all the Arabic digits, like [0-9]
[0-9]
is a range, meaning that is will match any digit you find in the range 0 through 9, you could also use [0123456789]
to get same matching.
[01]
matches only the binary digits 0 and 1.
Date: 2025/05/01