PROPOSAL: Multiline strings

Adrian Kuhn akuhn at gmx.ch
Sun Mar 1 01:16:57 PST 2009


On 01.03.2009, at 09:58, Jeremy Manson wrote:

> Frankly, to me, the big win would actually not be multiline literals,
> but would be escaped String literals.  I'm sick of writing all of my
> regexps with twice as many \ characters as they need.

In this case, why not allow regexps to be written literally in source  
code? As is done in many other languages. Although, this change would  
couple the regexp API with the language. But maybe here, the benefit  
might be worth the costs.

--AA



More information about the coin-dev mailing list