From: HarryO Date: 2001-10-20T21:07:12+09:00 Subject: [ruby-talk:22823] Re: PLease condense my code In article <3BD113C9.BB4E5BB@bayarea.net>, "Frank Mitchell" wrote: >> Actually, does this one not work: >> >> while gets >> print if (!(/=begin/../=end/) && !(/^=[-a-zA-Z0-9. ]*=/)) >> end Can someone explain what the "!(/=begin/../=end/)" does? My guess is that it means that the current line is not somewhere between lines that match those two regular expressions. Is that right? Feel free to point me to a section of the pickaxe book (preferably with a page number, if possible).