Re: OK what does ` mean - seriously seems to be not documented.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Tom,

If \r\n is a relic then it is quite a recent relic. And wasn't it true that Mac lines were terminated with \r not \n? (This has no doubt changed now).

My concern originally was whether my program needed to support ` and """ when reading in values from text files.

I would like it to know the \r was there.

The other point is that neither ` nor """ allow escaping so the delimiter cannot be included in the string. Of course one can enter

  `this is a grave accent ` & "`." 
but this has to be interpreted rather than read in.

My question comes down to what is the full intention of `-strings in Euphoria? They could be used as clean regex source as the \ doesn't need to be escaped, but then what is the point of raw newlines? And how does one get a ` into a regex literal without resorting to the patch above?

Being able to write multi-line text easily is useful but these uses conflict.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu