| 28 |
|
|
| 29 |
3. Altered versions must be plainly marked as such, and must not be |
3. Altered versions must be plainly marked as such, and must not be |
| 30 |
misrepresented as being the original software. |
misrepresented as being the original software. |
| 31 |
|
|
| 32 |
|
4. If PCRE is embedded in any software that is released under the GNU |
| 33 |
|
General Purpose Licence (GPL), then the terms of that licence shall |
| 34 |
|
supersede any condition above with which it is incompatible. |
| 35 |
----------------------------------------------------------------------------- |
----------------------------------------------------------------------------- |
| 36 |
*/ |
*/ |
| 37 |
|
|
| 223 |
|
|
| 224 |
preg->re_erroffset = (size_t)(-1); /* Only has meaning after compile */ |
preg->re_erroffset = (size_t)(-1); /* Only has meaning after compile */ |
| 225 |
|
|
| 226 |
rc = pcre_exec(preg->re_pcre, NULL, string, (int)strlen(string), options, |
rc = pcre_exec(preg->re_pcre, NULL, string, (int)strlen(string), 0, options, |
| 227 |
(int *)pmatch, nmatch * 2); |
(int *)pmatch, nmatch * 2); |
| 228 |
|
|
| 229 |
if (rc == 0) return 0; /* All pmatch were filled in */ |
if (rc == 0) return 0; /* All pmatch were filled in */ |