![]() |
![]() |
|
#include <shwild/shwild.hpp>
Public Member Functions | |
Pattern (char const *pattern, unsigned flags=0) | |
Parses and precompiles the given pattern, according to the behaviour specified by the given flags. | |
Pattern (slice_t const *pattern, unsigned flags=0) | |
Parses and precompiles the given pattern, according to the behaviour specified by the given flags. | |
Pattern (slice_t const &pattern, unsigned flags=0) | |
Parses and precompiles the given pattern, according to the behaviour specified by the given flags. | |
~Pattern () | |
Releases any resources associated with the instance. | |
bool | match (char const *string) const |
Match the given string against the precompiled pattern maintained as member state. | |
bool | match (slice_t const *string) const |
Match the given string against the precompiled pattern maintained as member state. | |
bool | match (slice_t const &string) const |
Match the given string against the precompiled pattern maintained as member state. | |
int | numMatched () const |
The number of potential matches (including the end marker) in the compiled pattern. |
Pattern | ( | char const * | pattern, | |
unsigned | flags = 0 | |||
) | [inline, explicit] |
Parses and precompiles the given pattern, according to the behaviour specified by the given flags.
Parses and precompiles the given pattern, according to the behaviour specified by the given flags.
Parses and precompiles the given pattern, according to the behaviour specified by the given flags.
~Pattern | ( | ) | [inline] |
Releases any resources associated with the instance.
bool match | ( | char const * | string | ) | const [inline] |
Match the given string against the precompiled pattern maintained as member state.
bool match | ( | slice_t const * | string | ) | const [inline] |
Match the given string against the precompiled pattern maintained as member state.
bool match | ( | slice_t const & | string | ) | const [inline] |
Match the given string against the precompiled pattern maintained as member state.
int numMatched | ( | ) | const [inline] |
The number of potential matches (including the end marker) in the compiled pattern.
|
b64 Library documentation © Synesis Software Pty Ltd, 2004-2012 |