First page Back Continue Last page Overview Graphics
Regular Expressions
Regular expression objects are used for pattern matching.
The syntax is very similar to Perl 5.
A string can be tested using the match method.
Ruby also supports Perl’s =~ operator.
“Capturing parenthesis” may also be used.