#include <TagExpression.h>
|
| TagExpression (const QString &tag_str, const QString &filename) |
|
bool | update_tag (const QString &tag_str, const QString &filepath) |
| fills the _cap_map More...
|
|
bool | check_tag (const Tag &tag, const QString &str) |
| checks, if one specific tag can be applied to the string More...
|
|
QMap< Tag, ReplacedString > | get_tag_val_map () const |
|
§ check_tag()
bool TagExpression::check_tag |
( |
const Tag & |
tag, |
|
|
const QString & |
str |
|
) |
| |
checks, if one specific tag can be applied to the string
- Parameters
-
tag | e.g. <t> |
str | usually the filepath |
- Returns
- true on success, false else
§ update_tag()
bool TagExpression::update_tag |
( |
const QString & |
tag_str, |
|
|
const QString & |
filepath |
|
) |
| |
fills the _cap_map
- Parameters
-
tag_str | the tag string entered in UI |
filepath | the filepath |
- Returns
- true if regular expressions can be applied to filepath, false else