On Thu, 10 Aug 2006, "A.J.Mechelynck" apparently wrote: > What is "the raw string notation from Python" ? > IMHO it would only create one additional type of string. We already have > single-quoted 'raw' strings in Vim, yet many people constantly forget > that double-quoted strings in Vim are "cooked".
Yes, that is my point: Many people forget the difference between single and double quoted strings. Indeed when reading vimscript the difference is not immediately obvious (easily forgettable), which is unfortunate. Taking the Python approach that values explicitness, http://docs.python.org/ref/strings.html a raw string can be created r'like this' or r"like this". The preceding 'r' is obviously for 'raw'. Very explicit; unlikely ever to be forgotten; and I think backwards compatible (i.e., ordinary single and double quoted strings can remain what they are). Cheers, Alan Isaac