Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
15.4k
Star
116k
Code
Issues
5k+
Pull requests
1.3k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Add pattern matching API to OsStr
- #109350
#109350
Closed
mina86
wants to merge 12 commits into
rust-lang:master
rust-lang/rust:master
from
mina86:pattern-2
mina86/rust:pattern-2
Copy head branch name to clipboard
Conversation
Commits
12
(12)
Checks
Files changed
Closed
Add pattern matching API to OsStr
#109350
mina86
wants to merge 12 commits into
rust-lang:master
rust-lang/rust:master
from
mina86:pattern-2
mina86/rust:pattern-2
Copy head branch name to clipboard
Commits
Commits on May 5, 2023
core: convert Pattern<'a> into Pattern<H: Haystack>
Show description for a367365
mina86
committed
a367365
View commit details
Copy full SHA for a367365
Browse repository at this point
core: move Pattern et al to core::pattern module
Show description for 9ba42ae
mina86
committed
9ba42ae
View commit details
Copy full SHA for 9ba42ae
Browse repository at this point
core: introduce internal core::pattern::{Split,SplitN} types
Show description for dedea7b
mina86
and
pitaj
committed
dedea7b
View commit details
Copy full SHA for dedea7b
Browse repository at this point
core: add core::pattern::EmptyNeedleSearcher internal type
Show description for d01dc93
mina86
committed
d01dc93
View commit details
Copy full SHA for d01dc93
Browse repository at this point
core: add try_next_code_point{,_reverse} internal functions
mina86
committed
4149fcd
View commit details
Copy full SHA for 4149fcd
Browse repository at this point
core: refactor tests/pattern.rs tests
Show description for cc9bf61
mina86
committed
cc9bf61
View commit details
Copy full SHA for cc9bf61
Browse repository at this point
core: add internal core::str_bytes module handling string-like slices
Show description for c9dce1b
mina86
committed
c9dce1b
View commit details
Copy full SHA for c9dce1b
Browse repository at this point
core: add concept of Flavour to core::str_bytes
Show description for fdb0aa6
mina86
committed
fdb0aa6
View commit details
Copy full SHA for fdb0aa6
Browse repository at this point
sys: reduce visibility of some internal OsStr-related types
Show description for 0d81d85
mina86
committed
0d81d85
View commit details
Copy full SHA for 0d81d85
Browse repository at this point
std: add pattern matching to OsStr
Show description for 06e6d69
mina86
committed
06e6d69
View commit details
Copy full SHA for 06e6d69
Browse repository at this point
core: add core::pattern::Predicate wrapper type
Show description for 237606c
mina86
committed
237606c
View commit details
Copy full SHA for 237606c
Browse repository at this point
std: add predicate pattern support to OsStr
Show description for e7fe1a2
mina86
committed
e7fe1a2
View commit details
Copy full SHA for e7fe1a2
Browse repository at this point
You can’t perform that action at this time.