| 3 |
*************************************************/ |
*************************************************/ |
| 4 |
|
|
| 5 |
|
|
| 6 |
#define PCRE_VERSION "1.02 12-Dec-1997" |
#define PCRE_VERSION "1.03 18-Dec-1997" |
| 7 |
|
|
| 8 |
|
|
| 9 |
/* This is a library of functions to support regular expressions whose syntax |
/* This is a library of functions to support regular expressions whose syntax |
| 38 |
define a macro for memmove() if USE_BCOPY is defined. */ |
define a macro for memmove() if USE_BCOPY is defined. */ |
| 39 |
|
|
| 40 |
#ifdef USE_BCOPY |
#ifdef USE_BCOPY |
| 41 |
|
#undef memmove /* some systems may have a macro */ |
| 42 |
#define memmove(a, b, c) bcopy(b, a, c) |
#define memmove(a, b, c) bcopy(b, a, c) |
| 43 |
#endif |
#endif |
| 44 |
|
|
| 53 |
#include <string.h> |
#include <string.h> |
| 54 |
#include "pcre.h" |
#include "pcre.h" |
| 55 |
|
|
| 56 |
|
/* In case there is no definition of offsetof() provided - though any proper |
| 57 |
|
Standard C system should have one. */ |
| 58 |
|
|
| 59 |
|
#ifndef offsetof |
| 60 |
|
#define offsetof(p_type,field) ((size_t)&(((p_type)0)->field)) |
| 61 |
|
#endif |
| 62 |
|
|
| 63 |
/* Private options flags start at the most significant end of the two bytes. |
/* Private options flags start at the most significant end of the two bytes. |
| 64 |
The public options defined in pcre.h start at the least significant end. Make |
The public options defined in pcre.h start at the least significant end. Make |
| 65 |
sure they don't overlap! */ |
sure they don't overlap! */ |