#include <ParseNumeric.h>
|
static const std::regex | rgx |
|
Meme Matcher for Numeric Memes
Parse any meme to test if it's valid, and extract its features
Numeric memes with common letters and different integer prefix (e.g. 2STEP vs 4STEP) are known to be exclusive https://github.com/xjmusic/xjmusic/issues/217
◆ ParseNumeric()
ParseNumeric::ParseNumeric |
( |
const std::string & |
raw | ) |
|
|
explicit |
◆ fromString()
ParseNumeric ParseNumeric::fromString |
( |
const std::string & |
raw | ) |
|
|
static |
◆ isAllowed()
bool ParseNumeric::isAllowed |
( |
const std::vector< ParseNumeric > & |
memes | ) |
const |
◆ isViolatedBy()
bool ParseNumeric::isViolatedBy |
( |
const ParseNumeric & |
target | ) |
const |
◆ body
std::string XJ::ParseNumeric::body |
◆ prefix
int XJ::ParseNumeric::prefix |
◆ rgx
const std::regex ParseNumeric::rgx |
|
static |
◆ valid
bool XJ::ParseNumeric::valid |
The documentation for this class was generated from the following files: