2004-03-05 18:40:36 +03:00
|
|
|
/**********************************************************************
|
1998-01-16 15:13:05 +03:00
|
|
|
|
2004-03-05 18:40:36 +03:00
|
|
|
regex.h -
|
1998-01-16 15:13:05 +03:00
|
|
|
|
2004-03-05 18:40:36 +03:00
|
|
|
$Author$
|
|
|
|
$Date$
|
1998-01-16 15:13:05 +03:00
|
|
|
|
2005-02-26 11:05:06 +03:00
|
|
|
Copyright (C) 1993-2005 Yukihiro Matsumoto
|
1998-01-16 15:13:05 +03:00
|
|
|
|
2004-03-05 18:40:36 +03:00
|
|
|
**********************************************************************/
|
1998-01-16 15:13:05 +03:00
|
|
|
|
2002-04-24 08:54:16 +04:00
|
|
|
#ifndef REGEX_H
|
|
|
|
#define REGEX_H
|
1998-01-16 15:13:05 +03:00
|
|
|
|
2005-02-26 11:05:06 +03: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 15:13:05 +03:00
|
|
|
|
2002-04-24 08:54:16 +04:00
|
|
|
#endif /* !REGEX_H */
|