paradigmatic / Configrity

Simple, immutable and flexible configuration library for scala.
Other
132 stars 19 forks source link

Support strings formed by single quotes #24

Open dcsobral opened 11 years ago

dcsobral commented 11 years ago

I suddenly found myself needing strings with double quotes, and there seems to be no way of adding them. A simple solution would be to allow strings formed by single quotes, though that would still leave out things that need both single and double quotes.

lalloni commented 11 years ago

Since unquoted strings are already available (which I tend to use a lot), why not just allow unquoted strings to have double or single quotes in any place?

paradigmatic commented 11 years ago

I have again some time left to improve Configrity. Sorry for the long delay. I will try to add this nice feature very soon. What about introducing triple quotes ?

dcsobral commented 11 years ago

Any solution that let me put double quotes in the string would work for me. I'm no longer involved with the project where I needed this, though, so, at this point, it is mostly what would have been useful for me.