![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include "parsehelpers.h"#include <QChar>#include <QList>#include <QRegularExpression>#include <QRegularExpressionMatch>#include <QSharedPointer>#include <QStringList>Functions | |
| bool | parseCipt (const QString &name, const QString &text) |
| bool parseCipt | ( | const QString & | name, |
| const QString & | text ) |
Parses the card text to determine if the card should have the cipt tag
The parsing logic is able to handle the following cases:
However, it will still miss on certain cases:
Note that "...enters tapped unless..." returns false.
| name | The name of the card |
| text | The Oracle text of the card |