On Mon, Feb 4, 2013 at 4:46 PM, Love U Ruby <[email protected]> wrote: > tamouse mailing lists wrote in post #1095109: >> On Mon, Feb 4, 2013 at 4:59 AM, Love U Ruby <[email protected]> >> wrote: >>>> /[[: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") #=> #<MatchData "He"> > > > Okay! Could you explain how the matching here performed, to produce > "#<MatchData "He">"
There are tutorials on regular expressions out there on the web. Nobody is going to go through the effort to write another one just for you. If you want a book, read "Mastering Regular Expressions". Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- [email protected] | https://groups.google.com/d/forum/ruby-talk-google?hl=en --- You received this message because you are subscribed to the Google Groups "ruby-talk-google" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
