Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-14 | AK: Fix StringUtils::contains() case insensitive search | Linus Groh | |
It would incorrectly return false if needle was at the end the string. | |||
2020-10-29 | AK: Make String::matches() capable of reporting match positions too | AnotherTest | |
Also, rewrite StringUtils::match(), because the old implementation was fairly broken, e.g. "acdcxb" would *not* match "a*?b". | |||
2020-10-22 | AK: Enhance String::contains to allow case-insensitive searches | Tom | |
2020-09-27 | AK: Move trim_whitespace() into StringUtils and add it to StringView | AnotherTest | |
No behaviour change; also patches use of `String::TrimMode` in LibJS. | |||
2020-07-21 | AK: Add case insensitive version of starts_with | Luke | |
2020-06-12 | AK: Make string-to-number conversion helpers return Optional | Andreas Kling | |
Get rid of the weird old signature: - int StringType::to_int(bool& ok) const And replace it with sensible new signature: - Optional<int> StringType::to_int() const | |||
2020-05-26 | AK: Add case insensitive String::ends_with support | Brian Gianforcaro | |
FileSystemPath::has_extension was jumping through hoops and allocating memory to do a case insensitive comparison needlessly. Extend the existing String::ends_with method to allow the caller to specify the case sensitivity required. | |||
2020-05-26 | AK: Move String::ends_with implementation to StringUtils | Brian Gianforcaro | |
Centralizing so it can be used by other string implementations | |||
2020-05-21 | AK: StringUtils, add "convert_to_uint_from_hex" method | Hüseyin ASLITÜRK | |
New method to convert hex string unsigned integer. | |||
2020-03-22 | AK: Add FlyString::equals_ignoring_case(StringView) | Andreas Kling | |
And share the code with String by moving the logic to StringUtils. :^) | |||
2020-03-22 | AK: Run clang-format on StringUtils.{cpp,h} | Andreas Kling | |
2020-03-02 | AK: Add missing copyright headers to StringUtils.{cpp,h} | Andreas Kling | |
2020-03-02 | AK: Move to_int(), to_uint() implementations to StringUtils (#1338) | howar6hill | |
Provide wrappers in String and StringView. Add some tests for the implementations. | |||
2020-03-02 | AK: Move the wildcard-matching implementation to StringUtils | howar6hill | |
Provide wrappers in the String and StringView classes, and add some tests. |