We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pattern
For Rust &str's, there is the standard library, there's the (still unstable) std::str::pattern::Pattern trait. It's used for methods like contains, starts_with, or matches.
&str
std::str::pattern::Pattern
contains
starts_with
matches
This trait should be ported to work on types from this library (ideally, the trait from the standard library should allow different strings).
#1 requested string matching functions for the types exposed by this crate - Pattern would allow this by providing a std-like API.
std
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For Rust
&str
's, there is the standard library, there's the (still unstable)std::str::pattern::Pattern
trait. It's used for methods likecontains
,starts_with
, ormatches
.This trait should be ported to work on types from this library (ideally, the trait from the standard library should allow different strings).
#1 requested string matching functions for the types exposed by this crate -
Pattern
would allow this by providing astd
-like API.The text was updated successfully, but these errors were encountered: