qt5base-lts/tests/auto/corelib/tools/qregularexpression
Samuel Gaist 649ee12aba QRegularExpression: anchor wildcard pattern
The current implementation of wildcardToRegularExpression doesn't
anchor the pattern which makes it not narrow enough for globbing
patterns. This patch fixes that by applying anchoredPattern before
returning the wildcard pattern.

[ChangeLog][QtCore][QRegularExpression] The wildcardToRegularExpression
method now returns a properly anchored pattern.

Change-Id: I7bee73389d408cf42499652e4fb854517a8125b5
Fixes: QTBUG-72539
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2018-12-15 13:24:16 +00:00
..
.gitignore QRegularExpression: add ways to force an immediate optimization 2014-05-06 00:10:55 +02:00
qregularexpression.pro QRegularExpression: refactor pattern optimization 2018-06-22 19:43:54 +00:00
tst_qregularexpression.cpp QRegularExpression: anchor wildcard pattern 2018-12-15 13:24:16 +00:00