From: Robert Klemme Date: 2008-09-01T18:28:49+09:00 Subject: Re: Looking for a regular pattern 2008/9/1 Sebastian Hungerecker : > Zhao Yi wrote: >> Why? It should match any character. > > Yes, but so does just . when you specify the m modifier. So why make it [.\s] > if you can just do . ? One reason would be that you need option /m which is effective for the whole RX. You can avoid that by doing /(?m:.)/ Cheers robert -- use.inject do |as, often| as.you_can - without end