Expand description
String Predicates
This module contains predicates specific to string handling.
Structs§
- Predicate that checks for patterns.
- Predicate that diffs two strings.
- Predicate checks end of str
- Predicate that checks for empty strings.
- Predicate that checks for repeated patterns.
- Predicate adapter that normalizes the newlines contained in the variable being tested.
- Predicate that uses regex matching
- Predicate checks start of str
- Predicate adaper that trims the variable being tested.
- Predicate adaper that converts a
str
predicate to byte predicate.
Traits§
Predicate
extension adapting astr
Predicate.
Functions§
- Creates a new
Predicate
that ensures a str containspattern
- Creates a new
Predicate
that diffs two strings. - Creates a new
Predicate
that ensures a str ends withpattern
- Creates a new
Predicate
that ensures a str is empty - Creates a new
Predicate
that uses a regular expression to match the string. - Creates a new
Predicate
that checks strings for how similar they are. - Creates a new
Predicate
that ensures a str starts withpattern
Type Aliases§
- An error that occurred during parsing or compiling a regular expression.