From a1c2c274eebcc2a5275b677ebf94a8dbff380770 Mon Sep 17 00:00:00 2001 From: TSUYUSATO Kitsune Date: Wed, 19 Apr 2023 13:08:28 +0900 Subject: Refactor `Regexp#match` cache implementation (#7724) * Refactor Regexp#match cache implementation Improved variable and function names Fixed [Bug 19537] (Maybe fixed in https://github.com/ruby/ruby/pull/7694) * Add a comment of the glossary for "match cache" * Skip to reset match cache when no cache point on null check --- include/ruby/onigmo.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/ruby/onigmo.h b/include/ruby/onigmo.h index 8d7c601703..0a5400c3a5 100644 --- a/include/ruby/onigmo.h +++ b/include/ruby/onigmo.h @@ -744,8 +744,6 @@ typedef struct { typedef struct { int lower; int upper; - long base_num; - long inner_num; } OnigRepeatRange; typedef void (*OnigWarnFunc)(const char* s); -- cgit v1.2.1