mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
Remove unused function re_lookbehind.
This commit is contained in:
parent
e5d1dd9689
commit
856f39bf0f
@ -700,15 +700,6 @@ int re_multiline(regprog_T *prog)
|
||||
return prog->regflags & RF_HASNL;
|
||||
}
|
||||
|
||||
/*
|
||||
* Return TRUE if compiled regular expression "prog" looks before the start
|
||||
* position (pattern contains "\@<=" or "\@<!").
|
||||
*/
|
||||
int re_lookbehind(regprog_T *prog)
|
||||
{
|
||||
return prog->regflags & RF_LOOKBH;
|
||||
}
|
||||
|
||||
/*
|
||||
* Check for an equivalence class name "[=a=]". "pp" points to the '['.
|
||||
* Returns a character representing the class. Zero means that no item was
|
||||
|
@ -2,7 +2,6 @@
|
||||
#define NEOVIM_REGEXP_H
|
||||
/* regexp.c */
|
||||
int re_multiline(regprog_T *prog);
|
||||
int re_lookbehind(regprog_T *prog);
|
||||
char_u *skip_regexp(char_u *startp, int dirc, int magic, char_u **newp);
|
||||
int vim_regcomp_had_eol(void);
|
||||
void free_regexp_stuff(void);
|
||||
|
Loading…
Reference in New Issue
Block a user