From: Phillip Gawlowski Date: 2009-12-27T12:48:58+09:00 Subject: Re: How to truncate the spaces in the front of a line On 27.12.2009 04:40, Phillip Gawlowski wrote: > The regexp "^ +" (the // notation is one of the many ways to tell Ruby > we are using a regexp) means "At the beginning of the line ("^"), find > any spaces(" "), and then stop ("+")". More or less, anyway (I'm not a > Regexp guru). ;) Actually, toss that explanation where it belongs: The waste receptacle. The regex means "match one or more spaces (" +"), at the beginning of the line("^")". -- Phillip Gawlowski