Mercurial > repo
view src/ploki/re.h @ 6600:6574ac73ed8a
<izabera> ` base64 -d <<< H4sIAAhyqVYCAy2NQQ6CMBRE9z3F+MNCE2zEHQvWXsCdYtLKJxKx39ASMA13F9DVzLzMZGxhJYSWYYptJCd4ScdILPk0u86axqPWeT7RymaRGpa5ox2GgsQhPBiDaVtSY7Gls3kyxDEqGVyKt/EeTYDppHcVgU6CIOvGh+XIuAq2/8DLi9dr2qlaOjRoHGKea32YVCWK7w8BJdFcmvI2IRlS/MKkVRLHy2Z2f7TPyqWgad45/gLSidNX4AAAAA== | zcat > 99
author | HackBot |
---|---|
date | Thu, 28 Jan 2016 01:46:05 +0000 |
parents | ac0403686959 |
children |
line wrap: on
line source
#ifndef RE_H_ #define RE_H_ #include "config.h" #include "IO.h" #include "Str.h" #include <stddef.h> #include <stdio.h> typedef struct my_regex t_regex; void re_init(void); void re_end(void); t_regex *re_compile(const String *); void re_free(t_regex *); t_regex *re_dup(t_regex *); ATTR_PURE int re_match(t_regex *, const String *, size_t *, size_t *); int re_iomatch(t_regex *, IO *, size_t *, size_t *); ATTR_PURE size_t re_cabra(const t_regex *); int re_backref(const t_regex *, size_t, size_t *, size_t *); void re_dump(const t_regex *, FILE *); void re_decompile(const t_regex *, String *); #endif /* RE_H_ */