From: tamouse mailing lists Date: 2013-02-04T20:10:00+09:00 Subject: Re: Character classes use in Ruby On Mon, Feb 4, 2013 at 4:59 AM, Love U Ruby wrote: > Hans Mackowiak wrote in post #1095104: >> 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 > > I know their description - but would be good for me if I get a ruby tiny > code to see their uses. Mainly how syntactically are they > used,basically. Read the page Hans pointed you to: /[[:upper:]][[:lower:]]/.match("Hello") #=> #