On Tue, Oct 16, 2012 at 10:14:24PM +0200, Rasmus wrote: > Can anyone think of a clever regexp that recognizes the above pattern? > I tried, "\\.[ ]\{1\}" but it didn't work. And without the \{1\} it's > too strong. . . >
I believe you need to group the whole regexp for the {1} to work. Try something like this: "\\(\\. \\)\\{1\\}" -- Suvayu Open source is the future. It sets us free.