diff --git a/cutter-plugin/YaraAddDialog.cpp b/cutter-plugin/YaraAddDialog.cpp index f630c1a..21ba1a6 100644 --- a/cutter-plugin/YaraAddDialog.cpp +++ b/cutter-plugin/YaraAddDialog.cpp @@ -24,7 +24,7 @@ YaraAddDialog::YaraAddDialog(RVA offset, QWidget *parent) QString name = QString(flag->name); if (name.startsWith("str.")) { name = name.replace("str.", ""); - name = name.replace(QRegExp("[^A-Za-z0-9_]+"), ""); + name = name.replace(QRegularExpression("[^A-Za-z0-9_]+"), ""); if (!name.isEmpty()) { ui->nameEdit->setText(name); }