summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qregularexpression
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2013-01-30 22:38:48 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-12 22:40:11 +0100
commitbcd04af4e8c6bbd4aba19369ac718df78cf88e9c (patch)
treef7dd5642f41276ca390a37c14bddb1815495843e /tests/auto/corelib/tools/qregularexpression
parenta317ee0a6fa76d1166f6da8593d39eaf7afce83c (diff)
QRegularExpression: don't use study data when getting the pattern info
Information about the pattern (number of capturing groups, newline settings, etc.) are grabbed when the pattern is compiled the first time. Studying (=> optimizing) is always done later, after a certain amount of usages. In case this ever changes, add an assert. Besides, we're not grabbing any info that require studying the pattern first. Change-Id: Ica15fa21f7bf13213288d7090d3396a89900078e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/tools/qregularexpression')
0 files changed, 0 insertions, 0 deletions