#ifndef RE2_UNICODE_GROUPS_H_
#define RE2_UNICODE_GROUPS_H_
#include <stdint.h>
#include "utf.h"
#include "util.h"
namespace lbug {
namespace regex {
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