[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: [relax-ng] Issue: long string literals
> Mere concatenation doesn't play well with the use of doubling as the way > of quoting the string literal delimiter. On the other hand, we could use mere concatenation *instead* of doubling. That is, a string literal is composed of one or more string literal pieces. Each piece starts with " or ' and is terminated by a matching " or '. There's no way to have a single piece containing both " and '. To get a string literal containing both " and ', you simply split it into multiple pieces which each contain either " or ' but not both. We are already using mere concatenation in element annotations: foo["bar" "baz"] James
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC