test backslash d as digit character class shortcut