From: James Edward Gray II Date: 2004-09-29T22:17:42+09:00 Subject: Re: Range of regexps? On Sep 29, 2004, at 5:47 AM, Alexey Verkhovsky wrote: > Have a question (as usual, from a thread on ruby-forum.org, > http://www.ruby-forum.org/bb/viewtopic.php?t=75) : > > Expression /start/../end/ is invalid because Regexp doesn't have <=> > method, but this code is printed in Pickaxe: > > while gets > print if /start/../end/ > end Robert gave a great answer, so I'll just add that this syntax doesn't seem to be well liked. I believe I've read in two places now that it may be going away in the future and is to be avoided. Just FYI. James Edward Gray II