From: Sebastian Hungerecker Date: 2007-12-14T03:47:02+09:00 Subject: Re: Regexp Matching Not Blank And Not A Specific Word? Andrew Stewart wrote: > In fact I'm beginning to doubt   > that (?!re) works at all on my system (Ruby 1.8.6)...but on balance   > it's probably me rather than my Ruby installation! It's not you. The ruby 1.8 regexen don't support negative lookahead. You'll get that in ruby 1.9 or by installing and using the oniguruma regexp-engine instead of the default ruby 1.8 one. HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826