|
[
Permlink
| « Hide
]
Craig Russell added a comment - 13/Jun/07 05:28 PM
This patch might do the trick. Anyone want to give it a try?
Thanks for committing the patch and adding a test case.
The \f" was not accidental. It's white space as defined in the Java Language manual, which calls it "form feed". I added all the white space from the manual. > The \f" was not accidental. It's white space as defined in the
> Java Language manual, which calls it "form feed". I added > all the white space from the manual. Surely they meant \l (^L, or ASCII 12), not \f (^F, ASCII 6). Well, \n isn't ascii 14 and \t isn't ascii 20. They're just letters and don't translate literally into ascii.
Sure enough. I somehow never noticed that the escape characters didn't correspond to their ASCII equivalents.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||