1// Copyright (c) 2018 The predicates-rs Project Developers.
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9//! String Predicates
10//!
11//! This module contains predicates specific to string handling.
12
13mod basics;
14pub use self::basics::*;
15mod adapters;
16pub use self::adapters::*;
17
18#[cfg(feature = "diff")]
19mod difference;
20#[cfg(feature = "diff")]
21pub use self::difference::{diff, DifferencePredicate};
22#[cfg(feature = "normalize-line-endings")]
23mod normalize;
24#[cfg(feature = "normalize-line-endings")]
25pub use self::normalize::NormalizedPredicate;
26
27#[cfg(feature = "regex")]
28mod regex;
29#[cfg(feature = "regex")]
30pub use self::regex::{is_match, RegexError, RegexPredicate};
31