summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmath.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2013-01-19 00:35:21 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-05 13:46:25 +0100
commit53f9e77140a07eb8f36eeea460f13a54dad7330e (patch)
treeb44c428c5c94938283cda6243559b03999a70a39 /src/corelib/kernel/qmath.h
parentd0804ff2dd3d289a0f0c58aa30c4334e66ea9be0 (diff)
QRegularExpression: add method for extracting the capturing group names
It may be useful to know which named capturing groups are defined in an regular expression, and for each of them, what's the corresponding index. This commit adds the needed method to QRegularExpression. Note that extracting the information doesn't happen while holding the mutex in the private -- pcre_fullinfo just reads information from the compiled pattern, so that's thread-safe. Task-number: QTBUG-29079 Change-Id: I50c00ee860f06427c2e6ea10417d5c0733cc8303 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qmath.h')
0 files changed, 0 insertions, 0 deletions