Mercurial > vim
annotate src/proto/regexp.pro @ 5826:afb542ea210c v7.4.256
updated for version 7.4.256
Problem: Using systemlist() may cause a crash and does not handle NUL
characters properly.
Solution: Increase the reference count, allocate memory by length. (Yasuhiro
Matsumoto)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 11 Apr 2014 10:22:53 +0200 |
parents | a63d0cd691dc |
children | 27a36d1013a6 |
rev | line source |
---|---|
7 | 1 /* regexp.c */ |
1121 | 2 int re_multiline __ARGS((regprog_T *prog)); |
3 int re_lookbehind __ARGS((regprog_T *prog)); | |
4 char_u *skip_regexp __ARGS((char_u *startp, int dirc, int magic, char_u **newp)); | |
5 int vim_regcomp_had_eol __ARGS((void)); | |
1521 | 6 void free_regexp_stuff __ARGS((void)); |
1121 | 7 reg_extmatch_T *ref_extmatch __ARGS((reg_extmatch_T *em)); |
8 void unref_extmatch __ARGS((reg_extmatch_T *em)); | |
9 char_u *regtilde __ARGS((char_u *source, int magic)); | |
10 int vim_regsub __ARGS((regmatch_T *rmp, char_u *source, char_u *dest, int copy, int magic, int backslash)); | |
11 int vim_regsub_multi __ARGS((regmmatch_T *rmp, linenr_T lnum, char_u *source, char_u *dest, int copy, int magic, int backslash)); | |
12 char_u *reg_submatch __ARGS((int no)); | |
5794 | 13 list_T *reg_submatch_list __ARGS((int no)); |
4805
66803af09906
updated for version 7.3.1149
Bram Moolenaar <bram@vim.org>
parents:
1521
diff
changeset
|
14 regprog_T *vim_regcomp __ARGS((char_u *expr_arg, int re_flags)); |
66803af09906
updated for version 7.3.1149
Bram Moolenaar <bram@vim.org>
parents:
1521
diff
changeset
|
15 void vim_regfree __ARGS((regprog_T *prog)); |
66803af09906
updated for version 7.3.1149
Bram Moolenaar <bram@vim.org>
parents:
1521
diff
changeset
|
16 int vim_regexec __ARGS((regmatch_T *rmp, char_u *line, colnr_T col)); |
66803af09906
updated for version 7.3.1149
Bram Moolenaar <bram@vim.org>
parents:
1521
diff
changeset
|
17 int vim_regexec_nl __ARGS((regmatch_T *rmp, char_u *line, colnr_T col)); |
66803af09906
updated for version 7.3.1149
Bram Moolenaar <bram@vim.org>
parents:
1521
diff
changeset
|
18 long vim_regexec_multi __ARGS((regmmatch_T *rmp, win_T *win, buf_T *buf, linenr_T lnum, colnr_T col, proftime_T *tm)); |
7 | 19 /* vim: set ft=c : */ |