[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-talk
Subject: Re: Regular Expression newbie question about upper & lower c
From: SpringFlowers AutumnMoon <summercoolness () gmail ! com>
Date: 2007-09-30 17:10:06
Message-ID: b6d32daa6a1e965170c8a2e042126700 () ruby-forum ! com
[Download RAW message or body]
Peter Vanderhaden wrote:
>> a =~ /^y/i
>
> Thank you much. Does the i at the end of the expression indicate
> case-insensitivity?
yes, it is a modifier, and i for case insensitivity and m for multiline
for a dot "." to match everything including a "\n" character.
--
Posted via http://www.ruby-forum.com/.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic