summaryrefslogtreecommitdiff
path: root/trex.h
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2014-01-07 15:01:45 +0200
committerOskari Timperi <oskari.timperi@iki.fi>2014-01-07 15:01:45 +0200
commit6a7e7f8bc9182675098b587ff22b629654bd473d (patch)
tree3238a0216c51742555c0097acfca251733785acc /trex.h
parent522b066870988b60b67efcc118cc1a33c9e35547 (diff)
downloadtiny-rex-6a7e7f8bc9182675098b587ff22b629654bd473d.tar.gz
tiny-rex-6a7e7f8bc9182675098b587ff22b629654bd473d.zip
enable defining flags when compiling regexp
Diffstat (limited to 'trex.h')
-rw-r--r--trex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/trex.h b/trex.h
index 2ba378f..698147d 100644
--- a/trex.h
+++ b/trex.h
@@ -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);