On 02/08/06, Pavel Smerk <smerk / fi.muni.cz> wrote: > Yes, the use of scan strikes me in the meantime too. Why (?:)? > str.scan(/ch|./i) does exactly the same, doesn't it? Yeah, there's no need for the (?: ... ). I started off thinking it was more complicated than it was, and forgot to take that out. I really need a regexp refactoring tool. Paul.