- From: Peter S. Linss <peter@linss.com>
- Date: Sat, 02 Dec 2000 10:47:51 -0800
- To: www-style@w3.org
Bjoern Hoehrmann wrote: > Hi, > > Which of these lines are comments and what is their content? > > /**/ > /** */ > \/* */ > /* \*/ */ > > I'd say 1, 2 and 4 are comments, with the content '', '* ' and ' \*/ ', > correct? Almost, the content of #4 is ' */ ' since the backslash is an escape removing the significance of the *, the escape is not included in the content. If you wanted ' \*/ ' then you'd have to have used ' /* \\\*/ */' (escaping both the backslash and the *). > > > regards, > -- > Björn Höhrmann ^ mailto:bjoern@hoehrmann.de ^ http://www.bjoernsworld.de > am Badedeich 7 ° Telefon: +49(0)4667/981ASK ° http://bjoern.hoehrmann.de > 25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # http://learn.to/quote [!]e > "Everything we see or seem is but a dream within a dream" - E.A. Poe
Received on Saturday, 2 December 2000 13:48:58 UTC