Closed lverns closed 8 years ago
Note that the parser handles commas correctly.
import us.bpsm.edn.parser.*;
import java.io.*;
public class CommaGood {
public static void main(String[] args){
Parseable pbr = Parsers.newParseable("\\,");
Parser p = Parsers.newParser(Parsers.defaultConfiguration());
char val = (char) p.nextValue(pbr);
System.out.println(val == ',');
}
}
This produces true
as expected.
Thanks very much for the bug report. I'll get a fix out this week.
Fixed with release 0.4.7 I've published it to Maven Central via oss.sonatype.org; It should appear there soon.
Running this program produces the following output
The expected output is