Since the introduction of Unicode, unless the //a modifier is in effect, these character classes match more than just a few characters in the ASCII range. \d matches a digit, not just [0-9] but also digits from non-roman scripts