From: Simon Strandgaard Date: 2005-03-08T07:19:51+09:00 Subject: Re: Text chunking? On Tue, 8 Mar 2005 04:08:56 +0900, Claus Spitzer wrote: [snip] Can you show an example of what you had in mind? maybe this can help you? 'ab.cd.e'.scan(/.*?(?:\.|\z)/) #-> ["ab.", "cd.", "e", ""] -- Simon Strandgaard