Re: Regular Expression newbie question about upper & lower c
- From: SpringFlowers AutumnMoon <summercoolness@xxxxxxxxx>
- Date: Mon, 1 Oct 2007 02:10:06 +0900
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/.
.
- References:
- Regular Expression newbie question about upper & lower case
- From: Peter Vanderhaden
- Re: Regular Expression newbie question about upper & lower case
- From: SpringFlowers AutumnMoon
- Re: Regular Expression newbie question about upper & lower c
- From: Peter Vanderhaden
- Regular Expression newbie question about upper & lower case
- Prev by Date: Re: Regular Expression newbie question about upper & lower c
- Next by Date: Re: Subclassing Thread?
- Previous by thread: Re: Regular Expression newbie question about upper & lower c
- Next by thread: Re: Regular Expression newbie question about upper & lower case
- Index(es):