Forum: Ruby Regexp Problem

Posted by karan garg (Guest)
on 2012-10-07 10:57
(Received via mailing list)
Hi all,

I recently started learning ruby from some videos online. These videos,
however are not so detailed and hence skim through the topics very fast.
Due to this I am facing a fair few problems in the understanding of 
*regexp*.
I request you to please guide me to understand this concept better in 
any
way and help me grow my knowledge of ruby.

Thanks in advance:)
Karan
Posted by Jan E. (jacques1)
on 2012-10-07 12:12
Hi,

just use Google to find a tutorial or book about regular expressions. 
This isn't Ruby specific, so any good explanation works (even though 
there may be minor differences in syntax).

For example, take this tutorial:
http://www.regular-expressions.info/tutorialcnt.html

There are also some good books by O'Reilly, but they go rather deep and 
may be too theoretical.
Posted by Alex Mcmillan (me-wrong)
on 2012-10-07 13:08
(Received via mailing list)
Take a look at www.oldkingjames.org and click on learn to program. There 
are some regx examples.

Date: Sun, 7 Oct 2012 17:56:32 +0900
From: karangarg31@gmail.com
Subject: Regexp Problem
To: ruby-talk@ruby-lang.org

Hi all,

I recently started learning ruby from some videos online.
These videos, however are not so detailed and hence skim through the
topics very fast. Due to this I am facing a fair few problems in the 
understanding of regexp. I request you to please guide me to understand 
this concept better in any way and help me grow my knowledge of ruby.


Thanks in advance:)
Karan
Posted by Joel Pearson (virtuoso)
on 2012-10-07 14:14
I've found this to be a great tool for experimentation and learning 
Ruby's regex:

http://rubular.com/
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.