pikapython/package/re/re_Pattern.h
eglwang 41a67198fa the re module,
which makes pikaScript support regular expression,
 just like what real python does.
 =====================
 为pikaScript开发的正则表达式模块
2022-08-29 11:36:29 +08:00

21 lines
741 B
C

/* ******************************** */
/* Warning! Don't modify this file! */
/* ******************************** */
#ifndef __re_Pattern__H
#define __re_Pattern__H
#include <stdio.h>
#include <stdlib.h>
#include "PikaObj.h"
PikaObj *New_re_Pattern(Args *args);
void re_Pattern___del__(PikaObj *self);
void re_Pattern___init__(PikaObj *self);
PikaObj* re_Pattern_findall(PikaObj *self, char* subject, PikaTuple* flags);
PikaObj* re_Pattern_fullmatch(PikaObj *self, char* subject, PikaTuple* flags);
PikaObj* re_Pattern_match(PikaObj *self, char* subject, PikaTuple* flags);
PikaObj* re_Pattern_search(PikaObj *self, char* subject, PikaTuple* flags);
char* re_Pattern_sub(PikaObj *self, char* repl, char* subjet, PikaTuple* flags);
#endif