From: Hans Mackowiak Date: 2013-02-04T19:48:46+09:00 Subject: Re: Character classes use in Ruby my-ruby: did you even try to google that list? http://ruby-doc.org/core-1.9.3/Regexp.html /[[:alnum:]]/ - Alphabetic and numeric character /[[:alpha:]]/ - Alphabetic character /[[:blank:]]/ - Space or tab /[[:cntrl:]]/ - Control character /[[:digit:]]/ - Digit /[[:graph:]]/ - Non-blank character (excludes spaces, control characters, and similar) /[[:lower:]]/ - Lowercase alphabetical character /[[:print:]]/ - Like [:graph:], but includes the space character /[[:punct:]]/ - Punctuation character /[[:space:]]/ - Whitespace character ([:blank:], newline, carriage return, etc.) /[[:upper:]]/ - Uppercase alphabetical /[[:xdigit:]]/ - Digit allowed in a hexadecimal number (i.e., 0-9a-fA-F) -- Posted via http://www.ruby-forum.com/.