scsh-0.6/scsh/rx/re1.h

16 lines
509 B
C
Raw Normal View History

1999-09-23 10:27:41 -04:00
/* Exports from re1.c */
2001-01-01 12:19:55 -05:00
s48_value compile_re(s48_value sre, s48_value sm_p);
1999-09-23 10:27:41 -04:00
2001-01-01 12:19:55 -05:00
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);
1999-09-23 10:27:41 -04:00
/* Filter a vector of strings by a regexp. */
1999-09-23 13:46:46 -04:00
int filter_stringvec(s48_value re_str, char const **stringvec);
1999-09-23 10:27:41 -04:00
/* Error code -> error msg */
2001-01-01 12:19:55 -05:00
s48_value re_errint2str(s48_value _errcode, s48_value _re);
1999-09-23 10:27:41 -04:00
2001-01-01 12:19:55 -05:00
s48_value free_re(s48_value _re); /* Free the malloc'd regexp. */