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
on 2012-10-07 10:57
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.
on 2012-10-07 13:08
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
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
Log in with Google account | Log in with Yahoo account
No account? Register here.