diff options
author | TSUYUSATO Kitsune <make.just.on@gmail.com> | 2023-04-19 13:08:28 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-19 13:08:28 +0900 |
commit | a1c2c274eebcc2a5275b677ebf94a8dbff380770 (patch) | |
tree | b3ae0486cccb292ecd43226ac599943fa5b165b2 /include | |
parent | 8023da746c7cee630cbb12ca0c60083127af885a (diff) | |
download | ruby-a1c2c274eebcc2a5275b677ebf94a8dbff380770.tar.gz |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/onigmo.h | 2 |
1 files changed, 0 insertions, 2 deletions
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); |