http://bugzilla.slf4j.org/show_bug.cgi?id=61
Summary: MessageFormatter does not escape backslash
Product: SLF4J
Version: 1.1RC1
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: Core API
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I can't put a backslash in front of my substituted argument.
Some tests:
System.out.println(MessageFormatter.format("C:{}", "foo"));
Prints "C:foo"
System.out.println(MessageFormatter.format("C:{}\\", "foo"));
Prints "C:foo\"
System.out.println(MessageFormatter.format("C:\\{}", "foo"));
Prints "C:{}"
System.out.println(MessageFormatter.format("C:\\\\{}", "foo"));
Prints "C:\{}"
There seems to be no way to print "C:\foo".
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
dev mailing list
[email protected]
http://www.slf4j.org/mailman/listinfo/dev