From: Austin Ziegler Date: 2003-10-09T00:48:47+09:00 Subject: Re: shorthand notation for multiline in regexps? On Thu, 9 Oct 2003 00:09:23 +0900, Carl Youngblood wrote: > Is there a way to declare a multiline or ignorecase regexp without using > Regexp.new()? I'd like to be able to do something like: > /someregexp/im > or something like that, similar to the way perl allows you to put stuff > after the regexp. I can't find anything about this in Programming Ruby. Yes. /someregexp/im will do multiline and ignorecase. -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2003.10.08 * 11.22.00