diff options
author | kojix2 <[email protected]> | 2024-10-31 12:44:50 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-31 12:44:50 +0900 |
commit | 550ac2f2edc07d1b63e3755233df0758a652b53f (patch) | |
tree | 500c2e14f9827a78b81d5187d88e2084f907227f /regexec.c | |
parent | 583587dfbf524b96593f5469d68c844c7297ba98 (diff) |
[DOC] Fix typos
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11967
Merged-By: nobu <[email protected]>
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -240,11 +240,11 @@ Glossary for "match cache" The `Regexp#match` optimization by using a cache. "cache opcode" -A cachable opcode (e.g. `OP_PUSH`, `OP_REPEAT`, etc). +A cacheable opcode (e.g. `OP_PUSH`, `OP_REPEAT`, etc). It is corresponding to some cache points. "cache point" -A cachable point on matching. +A cacheable point on matching. Usually, one-to-one corresponding between a cache opcode and a cache point exists, but cache opcodes between `OP_REPEAT` and `OP_REPEAT_INC` have some corresponding cache points depending on repetition counts. |