/* * Secret Labs' Regular Expression Engine * * regular expression matching engine * * Copyright (c) 1997-2001 by Secret Labs AB. All rights reserved. * * See the sre.c file for information on usage and redistribution. */ #ifndef SRE_INCLUDED #define SRE_INCLUDED #include "sre_constants.h" /* size of a code word (must be unsigned short or larger, and large enough to hold a UCS4 character) */ #define SRE_CODE … #if SIZEOF_SIZE_T > 4 #define SRE_MAXREPEAT … #define SRE_MAXGROUPS … #else #define SRE_MAXREPEAT … #define SRE_MAXGROUPS … #endif PatternObject; #define PatternObject_GetCode(o) … MatchObject; TemplateObject; SRE_REPEAT; SRE_STATE; ScannerObject; #endif