contains parameter matching functions and function classes More...
Classes | |
class | integers |
predicate that returns true if the input string represents an integer (with optional digit separators) More... | |
class | length |
predicate that returns true if the length of the input string is wihtin a given interval More... | |
class | numbers |
predicate that returns the first substring match within the input string that rmeepresents a number (with at maximum one decimal point and digit separators) More... | |
class | positive_integers |
predicate that returns true if the input string represents a non-negative integer (with optional digit separators) More... | |
class | prefix |
predicate that returns true if the input string starts with a given prefix More... | |
class | prefix_not |
predicate that returns true if the input string does not start with a given prefix More... | |
class | substring |
predicate that returns true if the input string contains a given substring More... | |
Typedefs | |
using | noprefix = prefix_not |
alias for prefix_not More... | |
Functions | |
bool | any (const arg_string &) |
predicate that is always true More... | |
bool | none (const arg_string &) |
predicate that is always false More... | |
bool | nonempty (const arg_string &s) |
predicate that returns true if the argument string is non-empty string More... | |
bool | alphanumeric (const arg_string &s) |
predicate that returns true if the argument is a non-empty string that consists only of alphanumeric characters More... | |
bool | alphabetic (const arg_string &s) |
predicate that returns true if the argument is a non-empty string that consists only of alphabetic characters More... | |
length | min_length (std::size_t min) |
makes function object that returns true if the input string has a given minimum length More... | |
length | max_length (std::size_t max) |
makes function object that returns true if the input string is not longer than a given maximum length More... | |
Detailed Description
contains parameter matching functions and function classes
Typedef Documentation
◆ noprefix
using clipp::match::noprefix = typedef prefix_not |
alias for prefix_not
Function Documentation
◆ alphabetic()
|
inline |
◆ alphanumeric()
|
inline |
◆ any()
|
inline |
◆ max_length()
|
inline |
◆ min_length()
|
inline |
◆ none()
|
inline |
◆ nonempty()
|
inline |