mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 913953 - Part q: Remove unused MatchPattern function; r=ehsan
This commit is contained in:
parent
0ac200bac6
commit
7548a1d1d8
@ -255,12 +255,4 @@ void SplitString(const std::string& str,
|
||||
char s,
|
||||
std::vector<std::string>* r);
|
||||
|
||||
// Returns true if the string passed in matches the pattern. The pattern
|
||||
// string can contain wildcards like * and ?
|
||||
// TODO(iyengar) This function may not work correctly for CJK strings as
|
||||
// it does individual character matches.
|
||||
// The backslash character (\) is an escape character for * and ?
|
||||
bool MatchPattern(const std::wstring& string, const std::wstring& pattern);
|
||||
bool MatchPattern(const std::string& string, const std::string& pattern);
|
||||
|
||||
#endif // BASE_STRING_UTIL_H_
|
||||
|
Loading…
Reference in New Issue
Block a user