Skip to content

Commit 06e6d69

Browse files
committed
std: add pattern matching to OsStr
Implement Haystack for &OsStr and Pattern<&OsStr> for &str, char and Predicate. Furthermore, add prefix/suffix matching/stripping and splitting methods to OsStr type to make use of those patterns. Using OsStr as a pattern is *not* implemented. Neither is indexing into OsStr. All matching and indexing has to be done via provided functions.
1 parent 0d81d85 commit 06e6d69

File tree

6 files changed

+3044
-1
lines changed

6 files changed

+3044
-1
lines changed

0 commit comments

Comments
 (0)