From: Matma Rex Date: 2012-12-22T21:25:28+09:00 Subject: Re: Perl to Ruby: regex captures to assignment. On Sat, 22 Dec 2012 08:40:58 +0100, 7stud -- wrote: > Explain in detail what do you think a \ at the end of the line does? It allows one to continue a line that would otherwise be terminated. Contrived example: a = 5 + 2 puts a # => 5 a = 5 \ + 2 puts a # => 7 It wasn't necessary in OP's example, but I also think it should work there. -- Matma Rex