diff options
author | howar6hill <f.eiwu@yahoo.com> | 2020-02-26 15:25:24 +0800 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-02 10:38:08 +0100 |
commit | 055344f3461a28578f8b49e9f2431bb9f22936b4 (patch) | |
tree | 4a39e875cef56df1950d56a2dd385898f0d000fc /Shell/main.cpp | |
parent | 2a30a020c13e462cba6e197f92a3171d79b12ba2 (diff) | |
download | serenity-055344f3461a28578f8b49e9f2431bb9f22936b4.zip |
AK: Move the wildcard-matching implementation to StringUtils
Provide wrappers in the String and StringView classes, and add some tests.
Diffstat (limited to 'Shell/main.cpp')
-rw-r--r-- | Shell/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Shell/main.cpp b/Shell/main.cpp index d63f02ccb6..992f2740cb 100644 --- a/Shell/main.cpp +++ b/Shell/main.cpp @@ -630,7 +630,7 @@ static Vector<String> expand_globs(const StringView& path, const StringView& bas if (name[0] == '.' && part[0] != '.') continue; - if (name.matches(part, String::CaseSensitivity::CaseSensitive)) { + if (name.matches(part, CaseSensitivity::CaseSensitive)) { StringBuilder nested_base; nested_base.append(new_base); |