Notepad++

Sergey Gromov snake.scaly at gmail.com
Mon Aug 17 19:21:53 PDT 2009


Mon, 17 Aug 2009 10:37:47 +0200, Don wrote:

> Sergey Gromov wrote:
>> Then you have q"{foo}" where "{" and "}" can be any of ()[]<>{}.
>> Regexps cannot translate while substituting, so you must create regexps
>> for all possible parens.
> 
> Remember that the whole point of q{} strings was that they should NOT be 
> highlighted as strings!

You confuse q{} and q"{}" here.  The former is a token string which may
contain only valid D tokens.  The latter is a delimited string with
nesting delimiters.  Like q"<<a href="#hi">hello</a>>".



More information about the Digitalmars-d mailing list