#include "regex.h"
#include <cstdint>
#include <vector>
#include <cctype>
#include <cassert>
#include <algorithm>
Go to the source code of this file.
|
namespace | reg |
| Namespace for the regular expression functions.
|
|
|
static bool | reg::isspace (char c) |
|
static bool | reg::isalpha (char c) |
|
static bool | reg::isdigit (char c) |
|
static bool | reg::isalnum (char c) |
|
static std::string | reg::wildcard2regex (std::string_view pattern) |
|
bool | reg::search (std::string_view str, Match &match, const Ex &re, size_t pos=0) |
| Search in a given string str starting at position pos for a match against regular expression re.
|
|
bool | reg::search (std::string_view str, const Ex &re, size_t pos=0) |
| Search in a given string str starting at position pos for a match against regular expression re.
|
|
bool | reg::match (std::string_view str, Match &match, const Ex &re) |
| Matches a given string str for a match against regular expression re.
|
|
bool | reg::match (std::string_view str, const Ex &re) |
| Matches a given string str for a match against regular expression re.
|
|
std::string | reg::replace (std::string_view str, const Ex &re, std::string_view replacement) |
| Searching in a given input string for parts that match regular expression re and replaces those parts by string replacement.
|
|
◆ DBG
◆ ENABLE_DEBUG