mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
41a67198fa
which makes pikaScript support regular expression, just like what real python does. ===================== 为pikaScript开发的正则表达式模块
21 lines
741 B
C
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
|