Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* regexp.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | int re_multiline(regprog_T *prog); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 3 | char_u *skip_regexp(char_u *startp, int dirc, int magic, char_u **newp); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 4 | reg_extmatch_T *ref_extmatch(reg_extmatch_T *em); |
| 5 | void unref_extmatch(reg_extmatch_T *em); |
| 6 | char_u *regtilde(char_u *source, int magic); |
Bram Moolenaar | 72ab729 | 2016-07-19 19:10:51 +0200 | [diff] [blame] | 7 | int vim_regsub(regmatch_T *rmp, char_u *source, typval_T *expr, char_u *dest, int copy, int magic, int backslash); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 8 | int vim_regsub_multi(regmmatch_T *rmp, linenr_T lnum, char_u *source, char_u *dest, int copy, int magic, int backslash); |
| 9 | char_u *reg_submatch(int no); |
| 10 | list_T *reg_submatch_list(int no); |
Bram Moolenaar | b0745b2 | 2019-11-09 22:28:11 +0100 | [diff] [blame] | 11 | int vim_regcomp_had_eol(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 12 | regprog_T *vim_regcomp(char_u *expr_arg, int re_flags); |
| 13 | void vim_regfree(regprog_T *prog); |
Bram Moolenaar | b0745b2 | 2019-11-09 22:28:11 +0100 | [diff] [blame] | 14 | void free_regexp_stuff(void); |
Bram Moolenaar | a8bfa17 | 2018-12-29 22:28:46 +0100 | [diff] [blame] | 15 | int regprog_in_use(regprog_T *prog); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 16 | int vim_regexec_prog(regprog_T **prog, int ignore_case, char_u *line, colnr_T col); |
| 17 | int vim_regexec(regmatch_T *rmp, char_u *line, colnr_T col); |
| 18 | int vim_regexec_nl(regmatch_T *rmp, char_u *line, colnr_T col); |
Bram Moolenaar | fbd0b0a | 2017-06-17 18:44:21 +0200 | [diff] [blame] | 19 | long vim_regexec_multi(regmmatch_T *rmp, win_T *win, buf_T *buf, linenr_T lnum, colnr_T col, proftime_T *tm, int *timed_out); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 20 | /* vim: set ft=c : */ |