Tell me how can we define ruby regular expressions?
Answer / Sharad Pal
"Ruby uses forward slashes to define regular expressions. A simple example would be /pattern/, where 'pattern' is the sequence of characters defining your desired pattern."
| Is This Answer Correct ? | 0 Yes | 0 No |
Can method names be capitalized?
What are the object-oriented programming features supported by ruby?
Explain about Class variable and global variable?
Explain the three levels of access control for ruby methods?
Tell me can you call a private method outside a ruby class using its object?
What is the difference between extend and include?
Describe class libraries in Ruby?
What's the difference in scope for these two variables: @name and @@name?
What are Ruby arrays and how they can be created?
what is the difference between String and Symbol?
What function converts all html special symbols to html entities in ruby?
What is the use of interpolation in ruby?