If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Ruby is a high level, object-oriented open source scripting language. It has excellent support for regular expressions as a language feature.
In Ruby, a regular expression is written in the form of /pattern/modifiers where “pattern” is the regular expression itself, and “modifiers” are a series of characters indicating various options. The “modifiers” part is optional. This syntax is borrowed from Perl.
Ruby supports the following modifiers:
- /i makes the regex match case insensitive.




