simple_string_patterns/lib.rs
1mod utils;
2pub mod enums;
3pub mod alphanumeric;
4pub mod segments;
5pub mod simple_match;
6pub mod enclose;
7pub mod to_strings;
8pub mod char_type;
9pub mod bounds_builder;
10
11/// This library provides a set of traits and extension methods for &str and/or String
12/// to facilitate common string manipulations routines that may otherwise require multiple steps
13/// Some methods have variants with a case_insensitive flag and without (_ci and _cs).
14/// Always consider the simplest strategy for extracting text, e.g. via to_head_tail(), to_segments().
15
16/// Core enums defining string matching rules and relative positions
17pub use crate::enums::*;
18/// Methods to strip or filter character types within strings and to extract integers or floats
19pub use crate::alphanumeric::*;
20/// Split strings into tuples or vectors of strings
21pub use crate::segments::*;
22/// Simple string match methods
23pub use crate::simple_match::*;
24/// Wrap or enclose strings in matching or complementary characters
25pub use crate::enclose::*;
26/// cast to vector of owned strings
27pub use crate::to_strings::*;
28pub use crate::char_type::*;
29/// rules builder
30pub use crate::bounds_builder::*;