diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-04-02 19:00:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-04-02 19:00:58 +0200 |
commit | 41571769c9a236fd07b333a5eb98c461636b466c (patch) | |
tree | ec1ea68205a7a81587973c381cfe55f4188924d1 /src/proto/regexp.pro | |
parent | fe5aab63feb2b03656700d3738d46a19e99edde0 (diff) | |
download | vim-git-41571769c9a236fd07b333a5eb98c461636b466c.tar.gz |
updated for version 7.4.241v7.4.241
Problem: The string returned by submatch() does not distinguish between a
NL from a line break and a NL that stands for a NUL character.
Solution: Add a second argument to return a list. (ZyX)
Diffstat (limited to 'src/proto/regexp.pro')
-rw-r--r-- | src/proto/regexp.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/regexp.pro b/src/proto/regexp.pro index 38c9c33c4..a42c5944a 100644 --- a/src/proto/regexp.pro +++ b/src/proto/regexp.pro @@ -10,6 +10,7 @@ char_u *regtilde __ARGS((char_u *source, int magic)); int vim_regsub __ARGS((regmatch_T *rmp, char_u *source, char_u *dest, int copy, int magic, int backslash)); int vim_regsub_multi __ARGS((regmmatch_T *rmp, linenr_T lnum, char_u *source, char_u *dest, int copy, int magic, int backslash)); char_u *reg_submatch __ARGS((int no)); +list_T *reg_submatch_list __ARGS((int no)); regprog_T *vim_regcomp __ARGS((char_u *expr_arg, int re_flags)); void vim_regfree __ARGS((regprog_T *prog)); int vim_regexec __ARGS((regmatch_T *rmp, char_u *line, colnr_T col)); |