mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 08:34:42 +08:00
Fixed entering address.
This commit is contained in:
@@ -160,6 +160,8 @@ void SeerMemoryVisualizerWidget::handleText (const QString& text) {
|
||||
QString value_text = Seer::parseFirst(text, "value=", '"', '"', false);
|
||||
QString address = "";
|
||||
|
||||
qDebug() << value_text;
|
||||
|
||||
// Look for an address in the value.
|
||||
if (address == "") {
|
||||
QRegularExpression re("0[xX][0-9a-fA-F]+");
|
||||
@@ -172,7 +174,7 @@ void SeerMemoryVisualizerWidget::handleText (const QString& text) {
|
||||
|
||||
// Look for a number in the value.
|
||||
if (address == "") {
|
||||
QRegularExpression re("0[xX][0-9a-fA-F]+");
|
||||
QRegularExpression re("[0-9]+");
|
||||
QRegularExpressionMatch match = re.match(value_text);
|
||||
|
||||
if (match.hasMatch()) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
helloada
|
||||
helloada.ali
|
||||
helloada.o
|
||||
*.ali
|
||||
*.o
|
||||
b~helloada.*
|
||||
*.seer
|
||||
core.*
|
||||
|
||||
Reference in New Issue
Block a user