From: Louis-Philippe Date: 2009-11-27T05:14:08+09:00 Subject: Re: Pattern match to fail if two periods in a row --001636c925393160aa04794bd1cb Content-Type: text/plain; charset=ISO-8859-1 if ! /\.{2,}/ or something 2009/11/26 Ralph Shnelvar > Ok ... I really tried. And I used http://rubular.com/ (really nice) > > And I read and reread the pickaxe book section on regular > expressions. > > In other words ... I tried. > > So .. > > How does one create an expression that fails if there are two or more > periods > (e.g. "..") in a row? > > > --001636c925393160aa04794bd1cb--