mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 08:54:12 +08:00
autofill regex
This commit is contained in:
parent
86415fca10
commit
26960cf099
@ -333,6 +333,7 @@ namespace
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
filter.setPattern(cjkCheckBox.isChecked() ? "[\\x{3000}-\\x{a000}]{4,}" : "[\\x{0020}-\\x{1000}]{4,}");
|
||||||
if (customSettings)
|
if (customSettings)
|
||||||
{
|
{
|
||||||
QDialog dialog(This, Qt::WindowCloseButtonHint);
|
QDialog dialog(This, Qt::WindowCloseButtonHint);
|
||||||
@ -388,7 +389,6 @@ namespace
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
sp.length = 0; // use default
|
sp.length = 0; // use default
|
||||||
filter.setPattern(cjkCheckBox.isChecked() ? "[\\x{3000}-\\x{a000}]{4,}" : "[\\x{0020}-\\x{1000}]{4,}");
|
|
||||||
}
|
}
|
||||||
filter.optimize();
|
filter.optimize();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user