a2c85bffbe
The match method still uses QRegExp. This patch updates the code to use QRegularExpression and translates the wildcard patterns to a suitable form for QRegularExpression. [ChangeLog][Core][QDir] QDir now uses QRegularExpression internally for wildcard matching. Note that QRegularExpression might not give the exact same result as QRegExp as its implementation follows strictly the glob patterns definition for wildcard expressions. Nevertheless, the tests for QDir return the same results as before. Change-Id: I095959443ac7362f7534e35454eff038061fca82 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> |
||
---|---|---|
.. | ||
entrylist | ||
resources/entryList | ||
searchdir | ||
testData | ||
testdir | ||
types | ||
.gitignore | ||
android_testdata.qrc | ||
qdir.pro | ||
qdir.qrc | ||
tst_qdir.cpp |