From: Greg Hurrell Date: 2007-02-22T21:55:06+09:00 Subject: Re: Weird behaviour escaping special characters in a string On 21 feb, 20:50, Brian Candler wrote: > In a single-quoted string: > \' => ' > \\ => \ > \x => \x for all other x > > So '...\1' and '...\\1' are identical. Excellent, that explains why I was getting the same results for 3 and 4 slashes, and the same for 5 and 6 slashes. Cheers, Greg