https://issues.dlang.org/show_bug.cgi?id=23474
Issue ID: 23474
Summary: Grapheme should end after carriage return if not
followed by line feed.
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
The only time a grapheme can continue after carriage return is when it's
followed by a line feed character. Otherwise it must break, even if followed by
an extending character: https://www.unicode.org/reports/tr29/tr29-41.html#GB4.
Thus
---
byGrapheme("\r\u0308").walkLength.writeln;
---
...should print 2, but it currently prints 1.
--