2004-03-05 10:40:36 -05:00
|
|
|
/**********************************************************************
|
1998-01-16 07:13:05 -05:00
|
|
|
|
2004-03-05 10:40:36 -05:00
|
|
|
regex.h -
|
1998-01-16 07:13:05 -05:00
|
|
|
|
2004-03-05 10:40:36 -05:00
|
|
|
$Author$
|
|
|
|
$Date$
|
1998-01-16 07:13:05 -05:00
|
|
|
|
2005-02-26 03:05:06 -05:00
|
|
|
Copyright (C) 1993-2005 Yukihiro Matsumoto
|
1998-01-16 07:13:05 -05:00
|
|
|
|
2004-03-05 10:40:36 -05:00
|
|
|
**********************************************************************/
|
1998-01-16 07:13:05 -05:00
|
|
|
|
2002-04-24 00:54:16 -04:00
|
|
|
#ifndef REGEX_H
|
|
|
|
#define REGEX_H
|
1998-01-16 07:13:05 -05:00
|
|
|
|
2005-02-26 03:05:06 -05:00
|
|
|
#include "oniguruma.h"
|
|
|
|
|
|
|
|
#ifndef ONIG_RUBY_M17N
|
|
|
|
|
|
|
|
ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding;
|
|
|
|
|
|
|
|
#undef ismbchar
|
|
|
|
#define ismbchar(c) (mbclen((c)) != 1)
|
|
|
|
#define mbclen(c) \
|
|
|
|
ONIGENC_MBC_ENC_LEN(OnigEncDefaultCharEncoding, (UChar* )(&c))
|
|
|
|
|
|
|
|
#endif /* ifndef ONIG_RUBY_M17N */
|
1998-01-16 07:13:05 -05:00
|
|
|
|
2002-04-24 00:54:16 -04:00
|
|
|
#endif /* !REGEX_H */
|