summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorR Smith <teh.mushy@gmail.com>2021-06-01 23:17:04 +1200
committerAli Mohammad Pur <ali.mpfard@gmail.com>2021-06-04 12:06:08 +0430
commit5a6f0ef1bcd0246075963a9feb9fee5d3aefa4c3 (patch)
tree1c6a340c2e828896f2363c122ba38490392f15b3 /Userland
parent182860760616b594ca739b256496c616b5569b06 (diff)
downloadserenity-5a6f0ef1bcd0246075963a9feb9fee5d3aefa4c3.zip
AK: Don’t drop lines between \r and \n in StringView::lines() (#7662)
StringView::lines() supports line-separators β€œ\n”, β€œ\r”, and β€œ\r\n”. The method will drop an entire line if it is surrounded by β€œ\r” and β€œ\n” separators on the left and right sides respectively.
Diffstat (limited to 'Userland')
0 files changed, 0 insertions, 0 deletions