Talk:Strip comments from a string: Difference between revisions

added sig
(strings containing comments inside a string...recursive?)
(added sig)
Line 21:
 
==Comments in Strings==
Are we to assume the comment character (# or ;) is not going to ever be inside a string "#" or that there are no strings in whatever language this is? If there are strings, do we assume '#' is not a valid strings in this language? what about Ruby where strings can often be delimited by meaningless characters? In order to properly "strip comments" we need to know what we're stripping them from. --[[User:Deltree|Deltree]] 16:04, 27 July 2011 (UTC)
Anonymous user