You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David M. Lloyd @dmlloyd May 07 13:43
hey @jmesnil - regarding lists of strings (StringUtil.split) - given the sequence foo\\,bar, I believe the current code would yield a list with a single element foo\,bar. Is that the intention, or is it intended that that code yield a list of foo\ and bar?
Jeff Mesnil @jmesnil May 09 01:29
we have a test for this use case: https://github.com/smallrye/smallrye-config/blob/70abffdaadbdcf21ddf5c976157c517e29735f8d/implementation/src/test/java/io/smallrye/config/StringUtilTest.java#L29
large:cheese\\,mushroom,medium:chicken,small:pepperoni will yield a list of large:cheese,mushroom, medium:chicken, small:pepperoni
so foo\\,bar should return a single item containing foo,bar
oh, by sequence foo\\,bar do you mean the String "foo\\\\,bar"?
if that's the case, the backslashes have no meaning and I'd expect that the returned value is a list of foo\\ & bar
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: