cessen / str_indices

Count and convert between various ways of indexing utf8 string slices.
Apache License 2.0
16 stars 5 forks source link

Add additional line modules. #3

Closed cessen closed 2 years ago

cessen commented 2 years ago

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:

This should(?) cover all the common use cases.

cessen commented 2 years ago

Done.