This blog helps you to clear Ruby concepts & Rails which also helps you to crack interview ;)
Thursday, 9 October 2014
Regexp in Ruby
A Regexp (regular expression) object describes a textual pattern & has methods for determining whether a given string matches that pattern or not
e.g. /[Rr]uby/ # Matches 'Ruby' or 'ruby'
No comments:
Post a Comment