Shannon Booth
24bc674d94
AK: Add StringView::ends_with function
2019-12-29 22:04:22 +01:00
Andreas Kling
8f80879676
AK: StringView::lines() should keep empty lines
2019-12-02 20:41:15 +01:00
Tommy Nguyen
2eb5793d55
LibMarkdown: Handle CRLF line endings
...
Previously, MDDocument only split on Unix-style line endings. This adds
a new function to StringView which handles LF, CR and CRLF.
2019-12-02 13:52:42 +01:00
MinusGix
a574e1ab84
TestStringView: Add test for starts_with
2019-09-13 09:22:30 +02:00
Andreas Kling
73fdbba59c
AK: Rename <AK/AKString.h> to <AK/String.h>
...
This was a workaround to be able to build on case-insensitive file
systems where it might get confused about <string.h> vs <String.h>.
Let's just not support building that way, so String.h can have an
objectively nicer name. :^)
2019-09-06 15:36:54 +02:00
Andreas Kling
2349dc1a21
StringView: Add StringView::operator==(StringView)
...
Previously we'd implicitly convert the second StringView to a String
when comparing two StringViews, which is obviously not what we wanted.
2019-08-15 14:09:27 +02:00