in reply to \ in single quotes (Re: FTP Problems)
in thread FTP Problems
If you ask me, I hate the fact that back-slashes are special at all within single-quoted strings, precisely for this problem. People make the assumption that single-quotes mean no interpolation is done, that they are safe putting whatever they want in the string. Backslashes are essentially ignored/safe except in the case of a second backslash or a single-quote itself. I might argue that backslashes be totally ignored/unspecial in a single-quoted string. Injecting single quotes might be done by doubling them up.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: \ in single quotes (Re: FTP Problems)
by tye (Sage) on Jan 26, 2001 at 22:43 UTC |