View Single Post
Old Mar 19th, 2007, 9:07 PM   #16
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Exploding on a string such as "<br /"> may not be effective. Many textual source code files never heard of "<br /"> or its variants, such as "<br/>". The idea is to reproduce logical lines in such a way that the resulting code is usable as reproduced, when copied intact. Since languages vary in this respect, it means reproducing the text in a way that will be acceptable to the target interpretation.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote