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;
|
||||
}
|
||||
|
||||
filter.setPattern(cjkCheckBox.isChecked() ? "[\\x{3000}-\\x{a000}]{4,}" : "[\\x{0020}-\\x{1000}]{4,}");
|
||||
if (customSettings)
|
||||
{
|
||||
QDialog dialog(This, Qt::WindowCloseButtonHint);
|
||||
@ -388,7 +389,6 @@ namespace
|
||||
else
|
||||
{
|
||||
sp.length = 0; // use default
|
||||
filter.setPattern(cjkCheckBox.isChecked() ? "[\\x{3000}-\\x{a000}]{4,}" : "[\\x{0020}-\\x{1000}]{4,}");
|
||||
}
|
||||
filter.optimize();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user