Module predicates::str

source ·
Expand description

String Predicates

This module contains predicates specific to string handling.

Re-exports

  • pub use self::difference::diff;
  • pub use self::regex::is_match;

Structs

Traits

Functions

  • Creates a new Predicate that ensures a str contains pattern
  • Creates a new Predicate that ensures a str ends with pattern
  • Creates a new Predicate that ensures a str is empty
  • Creates a new Predicate that ensures a str starts with pattern

Type Definitions

  • An error that occurred during parsing or compiling a regular expression.