diff options
author | Lewis Russell <lewis6991@gmail.com> | 2022-08-25 14:30:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 14:30:12 +0100 |
commit | 99f8d34c8a7128a9adb43168ca5364ccbd568333 (patch) | |
tree | 0a28a1505debe6e4d1025f9c518a7b0fe1ab769c /src/nvim/regexp_bt.c | |
parent | cd2d3aa48f3531103a3a355d76394301e7b074df (diff) | |
parent | 93f24403f8cc760ff47979c596976b53a8b16358 (diff) | |
download | rneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.tar.gz rneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.tar.bz2 rneovim-99f8d34c8a7128a9adb43168ca5364ccbd568333.zip |
Merge pull request #19934 from lewis6991/prepostincr
Diffstat (limited to 'src/nvim/regexp_bt.c')
-rw-r--r-- | src/nvim/regexp_bt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/regexp_bt.c b/src/nvim/regexp_bt.c index 769d2ceeef..d7a4f40ecf 100644 --- a/src/nvim/regexp_bt.c +++ b/src/nvim/regexp_bt.c @@ -4369,7 +4369,7 @@ static bool regmatch(char_u *scan, proftime_T *tm, int *timed_out) case BRACE_COMPLEX + 8: case BRACE_COMPLEX + 9: no = op - BRACE_COMPLEX; - ++brace_count[no]; + brace_count[no]++; // If not matched enough times yet, try one more if (brace_count[no] <= (brace_min[no] <= brace_max[no] |