-
Notifications
You must be signed in to change notification settings - Fork 29
Take inspiration from hamcrest's predicates #12
New issue
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
Labels
enhancement
Improve the expected
Comments
epage
added a commit
to epage/predicates-rs
that referenced
this issue
Apr 1, 2018
This is a short term API. Different issues we'll need to consider when evolving this include: - Easy to create predicate - The ability to customize the regex (e.g. case sensitivity, multi-line, ignoring whityespace). - It looks like the flags can be enabled with `(?flag)` inside the regex. Good enough? - How error handling should work. Re-export? A single error type for the whole crate? This is a part of assert-rs#12
epage
added a commit
to epage/predicates-rs
that referenced
this issue
Apr 1, 2018
This is a short term API. Different issues we'll need to consider when evolving this include: - Easy to create predicate - The ability to customize the regex (e.g. case sensitivity, multi-line, ignoring whityespace). - It looks like the flags can be enabled with `(?flag)` inside the regex. Good enough? - How error handling should work. Re-export? A single error type for the whole crate? This is a part of assert-rs#12
epage
added a commit
to epage/predicates-rs
that referenced
this issue
Apr 2, 2018
This is a short term API. Different issues we'll need to consider when evolving this include: - Easy to create predicate - The ability to customize the regex (e.g. case sensitivity, multi-line, ignoring whityespace). - It looks like the flags can be enabled with `(?flag)` inside the regex. Good enough? - How error handling should work. Re-export? A single error type for the whole crate? This is a part of assert-rs#12
epage
added a commit
to epage/predicates-rs
that referenced
this issue
Apr 2, 2018
This is a short term API. Different issues we'll need to consider when evolving this include: - Easy to create predicate - The ability to customize the regex (e.g. case sensitivity, multi-line, ignoring whityespace). - It looks like the flags can be enabled with `(?flag)` inside the regex. Good enough? - How error handling should work. Re-export? A single error type for the whole crate? This is a part of assert-rs#12
epage
added a commit
to epage/predicates-rs
that referenced
this issue
Apr 4, 2018
This is a short term API. Different issues we'll need to consider when evolving this include: - Easy to create predicate - The ability to customize the regex (e.g. case sensitivity, multi-line, ignoring whityespace). - It looks like the flags can be enabled with `(?flag)` inside the regex. Good enough? - How error handling should work. Re-export? A single error type for the whole crate? This is a part of assert-rs#12
In assert-rs/assert_cli#85 someone was adding regex predicates to assert_cli. They had a desire for repetition matching. Something we should consider. |
This was referenced Apr 7, 2018
#18 resolves the hamcrest part. Created a different issue for repetition. |
epage
added a commit
to epage/predicates-rs
that referenced
this issue
Apr 26, 2024
…hon-5.x chore(deps): update actions/setup-python action to v5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://github.com/ujh/hamcrest-rust
Predicates in hamcrest not in here include
The text was updated successfully, but these errors were encountered: