scsh-0.6/scsh/rx/re1.h

16 lines
509 B
C

/* Exports from re1.c */
s48_value compile_re(s48_value sre, s48_value sm_p);
s48_value re_search(s48_value _re, s48_value str, s48_value start,
s48_value trans_vec, s48_value max_psm,
s48_value start_vec, s48_value end_vec);
/* Filter a vector of strings by a regexp. */
int filter_stringvec(s48_value re_str, char const **stringvec);
/* Error code -> error msg */
s48_value re_errint2str(s48_value _errcode, s48_value _re);
s48_value free_re(s48_value _re); /* Free the malloc'd regexp. */