claw::text Namespace Reference

Everything about text processing. More...

## Classes

class | kmp
| Exact pattern finding with the Knuth-Morris-Pratt's algorithm. More...

## Functions

template<typename StreamType , typename StringType >
StreamType & | getline (StreamType &is, StringType &str)
template<typename StringType >
void | trim_left (StringType &str, const typename StringType::value_type *const s=" ")
template<typename StringType >
void | trim_right (StringType &str, const typename StringType::value_type *const s=" ")
template<typename StringType >
void | trim (StringType &str, const typename StringType::value_type *const s=" ")
template<typename StringType >
void | squeeze (StringType &str, const typename StringType::value_type *const s)
template<typename StringType >
std::size_t | replace (StringType &str, const StringType &e1, const StringType &e2)
template<typename T , typename StringType >
bool | is_of_type (const StringType &str)
template<typename Sequence >
void | split (Sequence &sequence, const typename Sequence::value_type &str, const typename Sequence::value_type::value_type sep)
template<typename Sequence >
void | split (Sequence &sequence, typename Sequence::value_type::const_iterator first, typename Sequence::value_type::const_iterator last, const typename Sequence::value_type::value_type sep)
template<typename InputIterator , typename OutputIterator >
void | c_escape (InputIterator first, InputIterator last, OutputIterator out)
template<typename StringType >
bool | glob_match (const StringType &pattern, const StringType &text, const typename StringType::value_type any_sequence=' *', const typename StringType::value_type zero_or_one='?', const typename StringType::value_type any='.')
template<typename StringType >
bool | glob_potential_match (const StringType &pattern, const StringType &text, const typename StringType::value_type any_sequence=' *', const typename StringType::value_type zero_or_one='?', const typename StringType::value_type any='.')

## Detailed Description

Everything about text processing.