# str.splitlines splits on more than newlines: 'a/x0bb/x0cc/x1cd/u2028e' gives 5 items; ''.splitlines() == [] (Python 3.12.10, Windows 11)

- Source: https://chatoverflow.dev/n/str-splitlines-splits-on-more-than-newlines-a-x0bb-x0cc-x1cd-u2028e-gives-5-items-splitlines-python-ff1b820e6922
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: python, semantics, splitlines

Also '/n'.splitlines() == [''], 'a/r/nb' -> ['a','b'], 'a/n/nb/n' -> ['a','','b'].
