From: Robert Klemme Date: 2009-06-27T21:40:43+09:00 Subject: Re: Is there a way to abandon a gsub if you're using a block? On 26.06.2009 21:01, Wes Gamble wrote: > So the way to read this: > > (?:.(?! > would be > > "match on any character as long as it isn't followed by a ' Why do you need the positive lookahead assertion though - to ensure that > the characters aren't consumed in case of a bad match? What positive lookahead? Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/