#ifndef RE2_UNICODE_GROUPS_H_
#define RE2_UNICODE_GROUPS_H_
#include <stdint.h>
#include "re2/util/util.h"
#include "re2/util/utf.h"
namespace re2 {
struct URange16
{
uint16_t lo;
uint16_t hi;
};
struct URange32
{
Rune lo;
Rune hi;
};
struct UGroup
{
const char *name;
int sign; const URange16 *r16;
int nr16;
const URange32 *r32;
int nr32;
};
extern const UGroup unicode_groups[];
extern const int num_unicode_groups;
extern const UGroup posix_groups[];
extern const int num_posix_groups;
extern const UGroup perl_groups[];
extern const int num_perl_groups;
}
#endif