In Perl regexps, "\d" matches any digit. Thus, "\w" in the default locale is just "[\da-zA-Z_]", and an integer is "[-+]?\d+".
"\D", however, stands for "[^\d]", or any non-digit character.
Log in or register to write something here or to contact authors.
Lost password
Sign Up
Need help? accounthelp@everything2.com