824cc94921
Although passing a null pointer to pcre16_get_stringnumber for the compiled pattern should simply make it error out, it's actually an undocumented behaviour, so let's stay safe and add an explicit check. Tests for this codepath are added. Change-Id: Ifd9c87874f6812ba487104ec1a5bbc83c3b16761 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> |
||
---|---|---|
.. | ||
alwaysoptimize | ||
defaultoptimize | ||
.gitignore | ||
qregularexpression.pro | ||
tst_qregularexpression.cpp | ||
tst_qregularexpression.h |