Currently only the full Unicode definition of line breaks is supported. But it is often useful to have a more limited definition, for both compatibility and performance reasons.
Add two new modules:
[x] lines_lf: only recognizes line feed characters. This will also coincidentally support CRLF graphemes, by virtue of simply ignoring the carriage return. (Added in 4ec6e60ff674792859c0639a7831fe92d2b79e7c.)
[x] lines_crlf: recognizes both carriage return and line feed characters individually, as well as properly handling CRLF graphemes. (Added in d78afc3701c5693678d0c0a0aa5bfade68117a38.)
Currently only the full Unicode definition of line breaks is supported. But it is often useful to have a more limited definition, for both compatibility and performance reasons.
Add two new modules:
lines_lf
: only recognizes line feed characters. This will also coincidentally support CRLF graphemes, by virtue of simply ignoring the carriage return. (Added in 4ec6e60ff674792859c0639a7831fe92d2b79e7c.)lines_crlf
: recognizes both carriage return and line feed characters individually, as well as properly handling CRLF graphemes. (Added in d78afc3701c5693678d0c0a0aa5bfade68117a38.)This should(?) cover all the common use cases.