2003-02-19 16:40:19 +08:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2004-01-09 01:33:29 +08:00
|
|
|
| PHP Version 5 |
|
2003-02-19 16:40:19 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2004-01-09 01:33:29 +08:00
|
|
|
| Copyright (c) 1997-2004 The PHP Group |
|
2003-02-19 16:40:19 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2003-06-11 04:04:29 +08:00
|
|
|
| This source file is subject to version 3.0 of the PHP license, |
|
2003-02-19 16:40:19 +08:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-11 04:04:29 +08:00
|
|
|
| available through the world-wide-web at the following url: |
|
|
|
|
| http://www.php.net/license/3_0.txt. |
|
2003-02-19 16:40:19 +08:00
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Author: |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2000-07-03 07:46:51 +08:00
|
|
|
#ifndef PHP_REGEX_H
|
|
|
|
#define PHP_REGEX_H
|
1999-05-11 08:01:47 +08:00
|
|
|
|
1999-12-01 07:19:33 +08:00
|
|
|
/*
|
|
|
|
* REGEX means:
|
|
|
|
* 0.. system regex
|
|
|
|
* 1.. bundled regex
|
|
|
|
*/
|
|
|
|
|
2000-02-11 03:41:21 +08:00
|
|
|
#if REGEX
|
1999-11-14 02:33:28 +08:00
|
|
|
/* get aliases */
|
|
|
|
#include "regex/regex_extra.h"
|
1999-05-11 08:01:47 +08:00
|
|
|
#include "regex/regex.h"
|
1999-11-14 02:33:28 +08:00
|
|
|
|
|
|
|
/* get rid of aliases */
|
|
|
|
#define PHP_NO_ALIASES
|
|
|
|
#include "regex/regex_extra.h"
|
|
|
|
#undef PHP_NO_ALIASES
|
|
|
|
|
2000-10-27 02:15:56 +08:00
|
|
|
#undef _PCREPOSIX_H
|
|
|
|
#define _PCREPOSIX_H 1
|
|
|
|
|
1999-10-30 22:24:36 +08:00
|
|
|
#ifndef _REGEX_H
|
1999-05-11 08:01:47 +08:00
|
|
|
#define _REGEX_H 1 /* this should stop Apache from loading the system version of regex.h */
|
1999-10-30 22:22:10 +08:00
|
|
|
#endif
|
1999-10-30 22:24:36 +08:00
|
|
|
#ifndef _REGEX_H_
|
1999-10-30 01:33:19 +08:00
|
|
|
#define _REGEX_H_ 1
|
1999-10-30 22:22:10 +08:00
|
|
|
#endif
|
1999-10-30 22:24:36 +08:00
|
|
|
#ifndef _RX_H
|
1999-05-11 08:01:47 +08:00
|
|
|
#define _RX_H 1 /* Try defining these for Linux to */
|
1999-10-30 22:22:10 +08:00
|
|
|
#endif
|
1999-10-30 22:26:42 +08:00
|
|
|
#ifndef __REGEXP_LIBRARY_H__
|
1999-05-11 08:01:47 +08:00
|
|
|
#define __REGEXP_LIBRARY_H__ 1 /* avoid Apache including regex.h */
|
1999-10-30 22:22:10 +08:00
|
|
|
#endif
|
1999-10-30 22:24:36 +08:00
|
|
|
#ifndef _H_REGEX
|
1999-05-11 08:01:47 +08:00
|
|
|
#define _H_REGEX 1 /* This one is for AIX */
|
1999-10-30 22:22:10 +08:00
|
|
|
#endif
|
1999-11-14 00:51:33 +08:00
|
|
|
#elif REGEX == 0
|
1999-05-11 08:01:47 +08:00
|
|
|
#include <regex.h>
|
1999-12-01 07:19:33 +08:00
|
|
|
#ifndef _REGEX_H_
|
|
|
|
#define _REGEX_H_ 1
|
|
|
|
#endif
|
1999-05-11 08:01:47 +08:00
|
|
|
#endif
|
|
|
|
|
2000-07-03 07:46:51 +08:00
|
|
|
#endif /* PHP_REGEX_H */
|