Previously, when clearing the pattern by clicking the clear button, the result match list would display a list of empty matches since apparently an empty pattern matches as many times as the subject is long. This is confusing when using the tool. Restructure RegularExpressionDialog::refresh() so that it bails out if the pattern is empty or invalid. Change-Id: I8119a75db50cead3f64394016e3390a9bf7d0bf7 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> |
||
|---|---|---|
| .. | ||
| images | ||
| main.cpp | ||
| regularexpression.pro | ||
| regularexpression.qrc | ||
| regularexpressiondialog.cpp | ||
| regularexpressiondialog.h | ||