Skip to content

Unify "str::lines()" and "str::lines_any()" and make it Unicode-correct #1557

Closed
@kud1ing

Description

@kud1ing
  • str::lines() appears to split strings only on \n
  • str::lines_any() appears to split on \n and on \r\n.
  • The Unicode line separator \u2028 is currently not handled.

I think, we want only one function doing "the right thing (tm)".

See

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions