how can we define Ruby regular expressions?
Answer / Alok Shukla
Ruby supports regular expressions (regex) using the /regex/ pattern. For example: /d+/ matches one or more digits, and /^[a-z]/ matches any lowercase alphabet at the start of a string.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are filters? and how many types of filters are there in ruby
How is calling super() different from the super call?
Explain rails caching levels.
Explain testing in rails.
what is the difference between destroy and delete?
how can you declare a block in Ruby?
what are the limits of Ruby on Rails?
what are the differences between rails 2.x and rails 3?
what is the difference between the Observers and Callbacks in Ruby on Rails?
Explain me what is the role of rails controller?
What role does garbage collection play?
Tell me what is rails active record in ruby on rails?