diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2014-01-07 15:01:45 +0200 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2014-01-07 15:01:45 +0200 |
| commit | 6a7e7f8bc9182675098b587ff22b629654bd473d (patch) | |
| tree | 3238a0216c51742555c0097acfca251733785acc /trex.h | |
| parent | 522b066870988b60b67efcc118cc1a33c9e35547 (diff) | |
| download | tiny-rex-6a7e7f8bc9182675098b587ff22b629654bd473d.tar.gz tiny-rex-6a7e7f8bc9182675098b587ff22b629654bd473d.zip | |
enable defining flags when compiling regexp
Diffstat (limited to 'trex.h')
| -rw-r--r-- | trex.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ typedef struct { int len; } TRexMatch; -TREX_API TRex *trex_compile(const TRexChar *pattern,const TRexChar **error); +TREX_API TRex *trex_compile(const TRexChar *pattern,const TRexChar **error,int flags); TREX_API void trex_free(TRex *exp); TREX_API TRexBool trex_match(TRex* exp,const TRexChar* text); TREX_API TRexBool trex_search(TRex* exp,const TRexChar* text, const TRexChar** out_begin, const TRexChar** out_end); |
