(cc'ed to Ilya Zakharevich) On Fri, 19 Nov 1999, Ilya Zakharevich wrote: > ,,, writes: > > "\c\\" whould be the correct syntax in my opinion; however, it appears > > that the \c logic sees two backslashes -- that the two backslashes > > aren't first reduced to one (as per double-quoting usually) before \c > > sees it. > > And what would "\c\c\c\c\\" do, in your opinion? ;-) My guess is ^\ + 'c' + ^\ + 'c' + '\\', i.e. ASCII 28, 99, 28, 99, 92. And that's what Perl does. This still doesn't explain to me, though, hough to produce a string consisting solely of the character ^\. -- Philip Newton <newton@newton.digitalspace.net>Thread Previous | Thread Next