diff options
Diffstat (limited to 'dicealias.cpp')
| -rw-r--r-- | dicealias.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dicealias.cpp b/dicealias.cpp index 3bce75d..a5c079d 100644 --- a/dicealias.cpp +++ b/dicealias.cpp @@ -162,8 +162,8 @@ bool DiceAlias::resolved(QString& str) } else if(m_type == REGEXP) { - QRegularExpression exp(m_command); - str.replace(exp, m_pattern); + QRegularExpression exp(m_pattern); + str.replace(exp, m_command); return true; } return false; |